Merged
Conversation
michaelklishin
approved these changes
Dec 6, 2019
Contributor
|
Thank you, works as advertised 👍 |
michaelklishin
added a commit
that referenced
this pull request
Dec 6, 2019
Test updates (cherry picked from commit ef1a50e)
Collaborator
|
@bording do you think that backporting this change to the I'll probably be pinging you about other changes to |
Collaborator
Author
|
Yes, it should be fine to backport these changes. |
lukebakken
pushed a commit
that referenced
this pull request
Feb 11, 2020
Test updates (cherry picked from commit ef1a50e)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
This includes a few changes needed to clean up some cruft in the test project and allow for the testing packages to be updated, including Microsoft.NET.Test.Sdk as mentioned in #673.
From what I can tell, the main reason that Microsoft.NET.Test.Sdk 16.4.0 was causing no tests to be found was that it moved to supporting
netcoreapp2.1becausenetcoreapp2.0is no longer supported.After making that change, I was able to update to 16.4.0 and the tests were being discovered and run properly when using the test scripts, but I noticed that the tests were not working when run from Visual Studio. It looks like 16.3.0 introduced a bug which 16.4.0 also has. I had to move down to 16.2.0 to avoid the bug. This has the tests working in VS, and both test scripts.
I'm going to be filing a bug against the Test SDK repo to hopefully get that fixed.
I also added the new reference assembly package, which should let the main project be fully built on linux, which should help with removing mono as a dependency to build and pack this project.
NOTE: I tested all of this on the .NET Core 3.1.100 SDK, and I advise updating your build agents to the latest version as well.
Types of Changes
What types of changes does your code introduce to this project?
Put an
xin the boxes that applyChecklist
Put an
xin the boxes that apply. You can also fill these out after creatingthe PR. If you're unsure about any of them, don't hesitate to ask on the
mailing list. We're here to help! This is simply a reminder of what we are
going to look for before merging your code.
CONTRIBUTING.mddocument