Skip to content

Add MSTest testing samples - #7135

Open
ivanPeshterskii wants to merge 2 commits into
dotnet:mainfrom
ivanPeshterskii:test/mstest-samples
Open

Add MSTest testing samples#7135
ivanPeshterskii wants to merge 2 commits into
dotnet:mainfrom
ivanPeshterskii:test/mstest-samples

Conversation

@ivanPeshterskii

Copy link
Copy Markdown
Contributor

Summary

Adds MSTest testing samples for issue #7079.

This PR includes two minimal MSTest examples:

  • MSTest with VSTest
  • MSTest with Microsoft.Testing.Platform

Both samples use the same test so that the configuration differences between the two test platforms are easy to compare.

Included samples

  • test/mstest/vstest
  • test/mstest/microsoft-testing-platform

A test/README.md file is also included with instructions for running both samples.

Validation

Both projects were tested locally with:

dotnet test test/mstest/vstest/MSTestVSTest.csproj
dotnet test test/mstest/microsoft-testing-platform/MSTestMTP.csproj

Both tests pass successfully.

This is the first part of #7079. NUnit and xUnit.net samples can follow in separate pull requests.

Related to #7079

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant