Skip to content

Run tests against multiple versions of ASP.Net Core #281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jaredcnance opened this issue May 8, 2018 · 1 comment
Closed

Run tests against multiple versions of ASP.Net Core #281

jaredcnance opened this issue May 8, 2018 · 1 comment

Comments

@jaredcnance
Copy link
Contributor

jaredcnance commented May 8, 2018

We should be able to run tests against multiple versions of ASP.Net Core by defining the default versions in Directory.Build.props and then override by passing the versions as msbuild properties:

dotnet test ./test/UnitTests/UnitTests.csproj \
  /p:AspNetCoreVersion=2.0.0 \
  /p:EFCoreVersion=2.0.0 \
  /p:MicrosoftLoggingVersion=2.0.0

Steps to implementation:

  1. Find a way to define the supported versions in a single place that can be imported by both build scripts
  2. Import the supported versions
  3. Iterate over the versions, passing them to the dotnet test command as shown above.

For now, the example projects will not work with Asp.Net Core v1, so as a POC, we should start with the following versions:

  • 2.0.0
  • 2.1.0
jaredcnance added a commit that referenced this issue Jun 14, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@jaredcnance
Copy link
Contributor Author

Closing, see #302 for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant