# microsoft/testfx

This repository holds the source code of Microsoft.Testing.Platform (MTP), a lightweight alternative to VSTest, as well as MSTest adapter and framework.

Repository: https://github.com/microsoft/testfx
Canonical: https://ross.abutalabs.com/products/testfx
Language: C#
License: MIT
License Family: permissive
Topics: dotnet, microsoft, mstest, test, test-framework, tdd, mstestv2, unittest, test-runner, testing-tools, visual-studio, mtp, testing, microsoft-testing-platform, mstestv3, mstestv4
Last push: 2026-09-03T02:03:25+00:00

## Health v2 (maintenance only)
Score: 100/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 100, longevity 100
- inputs: {"age_days": 3679, "days_push": 0, "days_rel": 0, "gap_med": 14, "n_releases_24m": 36}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1043, forks 310 (observed 2026-09-03T02:15:15.075592+00:00)

## What it is
Microsoft.Testing.Platform (MTP), a lightweight alternative to VSTest, together with the MSTest test framework and adapter for .NET. It lets developers write and run unit tests for .NET Framework, .NET Core, .NET, UWP, and WinUI applications across Windows, Linux, and macOS.

## Use cases
- write unit tests for .NET applications
- run tests without VSTest using a lightweight test platform
- integrate tests with Visual Studio Test Explorer
- practice TDD with red-green-refactor in C#
- create test suites for .NET projects
- run cross-platform tests on Linux CI

## When to choose
- you are building .NET applications and need a fully supported, MIT-licensed test framework
- you want a lightweight alternative to VSTest for running tests
- you need Visual Studio and CLI test integration for C# or F# projects

## When to avoid
- you are testing non-.NET languages like Java, Python, or JavaScript
- you rely on VSTest-specific extensions incompatible with MTP

## Facets
- artifact type: framework
- maturity: active
- function: testing, cli, developer-tools
- domain: testing, developer-tools
- platform: cross-platform, windows, dotnet
- tags: mstest, test-runner, vstest-alternative, unit-testing, tdd, visual-studio, nuget, dotnet, linux, macos

## Member repositories
- microsoft/testfx (main) score 100

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:15.075592+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:03:30.951879+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/testfx (fetched 2026-09-03T02:15:15.075592+00:00, sha 18efb1775252)
- Data as of 2026-08-30T08:39:29.467469+00:00.
