-
Notifications
You must be signed in to change notification settings - Fork 111
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
Use MSTest.Sdk (and migrate from VSTest to MTP) #728
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few notes:
- You haven't enabled MSTest runner on all projects
- You will need to update the pipeline setup to use new arguments
- For now the new runner doesn't support coverlet through
coverlet.collector
so you can remove the deps on all projects. If owners are fine, we can switch to MS code coverage otherwise as part of the pipeline update we will need to move to coverlet dotnet tool
2259590
to
8b16122
Compare
8b16122
to
382b52a
Compare
@joem-msft Can I get a review on this PR please? |
- name: Test - Persistence | ||
run: dotnet bin/Debug/Persistence.Tests/Persistence.Tests.dll | ||
|
||
- name: Test - PAModel | ||
run: dotnet bin/Debug/PAModelTests/PAModelTests.dll |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joem-msft FYI the assembly YamlValidator.Tests.dll wasn't run in CI. It's better to dotnet test
on the solution rather than listing individual dlls.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please do not start including the YamlValidator.Tests in the CI builds, as this project has been abandoned and not maintained.
- name: Test - PAModel | ||
run: dotnet bin/Debug/PAModelTests/PAModelTests.dll | ||
- name: Test | ||
run: dotnet test src/PASopa.sln --no-build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For maintainers: I would recommend to enable TRX report and Code Coverage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go ahead and enable if you would like.
@mesganmsft Thanks for reviewing! Is this good to merge now? |
Fixes #730