Migrate from MSTest.TestFramework
to xunit
#232
Labels
status:requirements
Full requirements are not yet known, so implementation should not be started
type:refactor
Refactoring or improving of existing code
There are 3 major testing frameworks for .NET: MSTest1, xunit2, and NUnit3. MSTest was (likely) chosen for Component Detection as it was the default test framework when creating a new project in Visual Studio.
Out of the 3 frameworks xunit has the most downloads. Currently MSTest has 146M, NUnit 194M, and xunit has 273M. That alone shows that xunit has more developer mindshare. Some other benefits include:
[SetUp]
and[TearDown]
are not included to promote cleaner testssealed
allowing for easy extensibilityReferences:
Footnotes
https://www.nuget.org/packages/MSTest.TestFramework/ ↩
https://www.nuget.org/packages/NUnit ↩
https://www.nuget.org/packages/xunit ↩
The text was updated successfully, but these errors were encountered: