Skip to content

Add NUnit testing samples - #7136

Open
ivanPeshterskii wants to merge 1 commit into
dotnet:mainfrom
ivanPeshterskii:test/nunit-samples
Open

Add NUnit testing samples#7136
ivanPeshterskii wants to merge 1 commit into
dotnet:mainfrom
ivanPeshterskii:test/nunit-samples

Conversation

@ivanPeshterskii

Copy link
Copy Markdown
Contributor

Summary

Adds NUnit testing samples for issue #7079.

This PR includes two minimal NUnit examples:

  • NUnit with VSTest
  • NUnit 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/nunit/vstest
  • test/nunit/microsoft-testing-platform

Validation

The VSTest sample was tested with:

dotnet test test/nunit/vstest/NUnitVSTest.csproj

The Microsoft.Testing.Platform sample was tested with:

dotnet test test/nunit/microsoft-testing-platform/NUnitMTP.csproj
dotnet run --project test/nunit/microsoft-testing-platform/NUnitMTP.csproj

All tests pass successfully.

This is the second part of #7079. xUnit.net samples can follow in a separate pull request.

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