MSTest framework and adapter
Перейти к файлу
dotnet-maestro[bot] 0c1f69603a
[main] Update dependencies from dotnet/arcade (#4090)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-11-20 14:06:24 +00:00
.config Configure codeql (#3794) 2024-09-09 21:46:37 +02:00
.github Add codecov.io (#3701) 2024-08-28 11:37:44 +02:00
docs Document release 3.6.3/1.4.3 2024-11-19 09:56:32 +01:00
eng [main] Update dependencies from dotnet/arcade (#4090) 2024-11-20 14:06:24 +00:00
samples Improve WinUI MSTest runner sample (#4069) 2024-11-16 00:34:40 +01:00
src Support ValueTask-returning test methods for all target frameworks (#4059) 2024-11-20 09:18:30 +01:00
test Support ValueTask-returning test methods for all target frameworks (#4059) 2024-11-20 09:18:30 +01:00
.editorconfig Don't force matching namespace to folder structure (#3556) 2024-08-15 11:07:35 +02:00
.git-blame-ignore-revs Ignore commit 4bb533 from revision logs 2022-08-30 13:46:10 +02:00
.gitattributes Build all src in Linux (#1920) 2023-12-11 20:55:26 +01:00
.gitignore ignore jetbrains temp (#2908) 2024-05-23 13:20:52 +02:00
.markdownlint.json Add 3.4.0 href to changelog (#2894) 2024-05-22 11:52:14 +02:00
.markdownlintignore Add analyzers (#1870) 2023-12-05 11:26:55 +01:00
Build.cmd Improve user experience of restoring/building/testing (#2261) 2024-02-06 17:37:04 +01:00
CODE_OF_CONDUCT.md Open Source Code of Conduct update Update (#816) 2021-04-19 10:06:54 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md, README.md, and dev-guide.md (#2706) 2024-04-14 09:17:47 +02:00
Directory.Build.props Bump to preview 7 of net9 2024-08-13 16:56:21 +02:00
Directory.Build.targets Open-source platform extensions and tooling (#3133) 2024-06-21 11:08:22 +02:00
Directory.Packages.props Support ValueTask-returning test methods for all target frameworks (#4059) 2024-11-20 09:18:30 +01:00
LICENSE Fix root license file (#1523) 2023-01-02 13:51:20 +01:00
MSTest.slnf Add slnf for MSTest and Platform 2024-07-08 15:32:36 +02:00
Microsoft.Testing.Platform.slnf Add slnf for MSTest and Platform 2024-07-08 15:32:36 +02:00
NuGet.config Fix nuget.config to use dotnet9 feed 2024-08-13 17:13:45 +02:00
README.md fix code format in readme (#3750) 2024-09-03 19:53:58 +02:00
SECURITY.md Adding Microsoft SECURITY.MD (#1109) 2022-05-19 15:34:52 +02:00
THIRD-PARTY-NOTICES.TXT Add third-parties licenses (#1955) 2023-12-18 11:07:43 +00:00
Test.cmd Improve user experience of restoring/building/testing (#2261) 2024-02-06 17:37:04 +01:00
TestFx.sln Fix conflict with Microsoft.Win32.Registry (#3988) 2024-11-04 14:11:18 +01:00
azure-pipelines-codeql.yml Run codeql daily at midnight 2024-09-10 15:47:38 +02:00
azure-pipelines-official.yml Install access database also on internal pipeline (#4083) 2024-11-19 16:16:27 +01:00
azure-pipelines.yml Fix DataSourceAttribute not being discovered with TestDataSourceDiscoveryOption.DuringDiscovery (#4058) 2024-11-18 10:47:52 +01:00
build.sh Add Ubuntu leg 2023-11-27 21:07:12 +01:00
global.json [main] Update dependencies from dotnet/arcade (#4090) 2024-11-20 14:06:24 +00:00
open-vs.cmd Improve user experience of restoring/building/testing (#2261) 2024-02-06 17:37:04 +01:00
restore.cmd Improve user experience of restoring/building/testing (#2261) 2024-02-06 17:37:04 +01:00
restore.sh Improve user experience of restoring/building/testing (#2261) 2024-02-06 17:37:04 +01:00
test.sh Improve user experience of restoring/building/testing (#2261) 2024-02-06 17:37:04 +01:00

README.md

Microsoft Test Framework

GitHub release GitHub repo size GitHub issues-opened GitHub issues-closed GitHub pulls-opened GitHub pulls-merged GitHub contributors Commit Activity Build Status

MSTest, Microsoft Testing Framework, is a unit testing framework for .NET applications. It allows you to write tests, use Test Explorer, create test suites, and apply the red, green, and refactor patterns to write code.

This is a fully supported, open source, and cross-platform test framework with which to write tests targeting .NET Framework, .NET Core, .NET, UWP, and WinUI on Windows, Linux, and Mac.

How can I contribute?

We welcome any kind of contribution!

  • Contributing guides how to best contribute
  • Dev Guide explains how to build and test
  • Documentation contains information about the history, context, and supported or unsupported features. It also gathers the various official documentation pages on learn.microsoft.com about MSTest.

How to consume MSTest?

MSTest is shipped as NuGet packages that can be added to your projects. The following table lists all available packages.

Name Description Stable version Preview version Dogfood version
MSTest This package is a meta package that simplifies referencing all recommended MSTest packages. # # Azure Artifacts
MSTest.TestFramework This package includes the libraries for writing tests with MSTest. To ensure the discovery and execution of your tests, install the MSTest.TestAdapter package. # # Azure Artifacts
MSTest.TestAdapter This package includes the adapter logic to discover and run tests. For access to the testing framework, install the MSTest.TestFramework package. # # Azure Artifacts
MSTest.Analyzers This package includes code analyzers and code fixes for MSTest. # # Azure Artifacts

License

MSTest is licensed under the MIT license.

The LICENSE and ThirdPartyNotices in any downloaded archives are authoritative.