Skip to main content
.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
ProductVersions
.NET
net8.0
.NET Standard
netstandard2.0
Other
.NETFramework4.6.2

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 test
  • Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult β€” represents the result of a test execution
  • Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter.ITestDiscoverer β€” interface for test discovery
  • Microsoft.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.