.NETFramework4.6.2net8.0.NETStandard2.0
The Microsoft Test Platform Object Model.
Published
Apr 14, 2026
6mo ago
Total Downloads
2.1B
2,074,199,717
Install
dotnet add package Microsoft.TestPlatform.ObjectModel --version 1.0.0-alpha-stj-26213-07
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard | |
| Other |
README
Microsoft.TestPlatform.ObjectModel
The object model for the Visual Studio Test Platform. This package provides the public API surface for creating test adapters, loggers, and other test platform extensions. This package is typically used as a reference.
Usage
Add this package to your test adapter or extension project:
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="x.y.z" PrivateAssets="All" />
Key Types
Microsoft.VisualStudio.TestPlatform.ObjectModel.TestCaseβ represents a discovered testMicrosoft.VisualStudio.TestPlatform.ObjectModel.TestResultβ represents the result of a test executionMicrosoft.VisualStudio.TestPlatform.ObjectModel.Adapter.ITestDiscovererβ interface for test discoveryMicrosoft.VisualStudio.TestPlatform.ObjectModel.Adapter.ITestExecutorβ interface for test execution
Links
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.