The following official learn.microsoft.com website contains all the information about writing unit tests, unit test frameworks, integration with CLI and Visual Studio.
This blog post announce the vision for MSTest V2.
For API documentation refer here.
- See CONTRIBUTING.md for details about how you can contribute.
- See dev-guide.md for more details on configurations for building the codebase. In practice, you only really need to run
build.cmd
/build.sh
.
You can find the main differences with MSTest v1 in Deltas w.r.t MSTest V1.
You can find detailed examples and explanation of MSTest features at
- MSTest element via runsettings
- Use the MSTest framework in unit tests
- Create a data-driven unit test
- Run selected unit tests
- Upgrade from MSTestV1 to MSTestV2
- Using a configuration file to define a data source
- MSTest Runner
For technical reasoning and implementation details, you can refer to the list of RFCs:
- Writing your first test with mstest
- Framework Extensibility Trait Attributes
- Framework Extensibility for Custom Assertions
- Customize Running tests
- In-assembly parallel execution
- Framework Extensibility for Custom Test Data Source
- DynamicData Attribute for Data Driven Tests
- DataSource Attribute Vs ITestDataSource
- Test case timeout via runsettings
You can find all features and bugs fixed in all our releases by looking at releases.md.