![]() |
VOOZH | about |
dotnet add package Microsoft.TestPlatform.ObjectModel --version 18.6.0
NuGet\Install-Package Microsoft.TestPlatform.ObjectModel -Version 18.6.0
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="18.6.0" />
<PackageVersion Include="Microsoft.TestPlatform.ObjectModel" Version="18.6.0" />Directory.Packages.props
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" />Project file
paket add Microsoft.TestPlatform.ObjectModel --version 18.6.0
#r "nuget: Microsoft.TestPlatform.ObjectModel, 18.6.0"
#:package Microsoft.TestPlatform.ObjectModel@18.6.0
#addin nuget:?package=Microsoft.TestPlatform.ObjectModel&version=18.6.0Install as a Cake Addin
#tool nuget:?package=Microsoft.TestPlatform.ObjectModel&version=18.6.0Install as a Cake Tool
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.
Add this package to your test adapter or extension project:
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="x.y.z" PrivateAssets="All" />
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| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Microsoft.TestPlatform.ObjectModel:
| Package | Downloads |
|---|---|
|
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter. |
|
|
xunit.runner.visualstudio
Visual Studio 2022+ Test Explorer runner for the xUnit.net framework. Capable of running xUnit.net v1, v2, and v3 tests. Supports .NET 4.7.2 or later, and .NET 8 or later. |
|
|
Microsoft.Testing.Extensions.VSTestBridge
Microsoft Testing is a set of platform, framework and protocol intended to make it possible to run any test on any target or device. This package provides a bridge integration for test adapters wanting to target both VSTest and Microsoft.Testing.Platform test platforms. |
|
|
Microsoft.Playwright.TestAdapter
Playwright enables reliable end-to-end testing for modern web apps. This is a utility package used by the Microsoft.Playwright.NUnit and Microsoft.Playwright.MSTest packages. |
|
|
TeamCity.VSTest.TestAdapter
Provides an integration with TeamCity for test frameworks. Usage: - Create a test project, for example using the command line: dotnet new xunit - Add the NuGet reference to this package |
Showing the top 20 popular GitHub repositories that depend on Microsoft.TestPlatform.ObjectModel:
| Repository | Stars |
|---|---|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
|
QuantConnect/Lean
Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
|
|
|
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
|
|
|
cake-build/cake
:cake: Cake (C# Make) is a cross platform build automation system.
|
|
|
PCL-Community/PCL-CE
PCL 社区版 由社区开发者维护与管理
|
|
|
CosmosOS/Cosmos
Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
|
|
|
coverlet-coverage/coverlet
Cross platform code coverage for .NET
|
|
|
dotnet/sdk
Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
|
|
|
microsoft/playwright-dotnet
.NET version of the Playwright testing and automation library.
|
|
|
dotnet/corert
This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
|
|
|
microsoft/PTVS
Python Tools for Visual Studio
|
|
|
KSP-CKAN/CKAN
The Comprehensive Kerbal Archive Network
|
|
|
scriptcs/scriptcs
Write C# apps with a text editor, nuget and the power of Roslyn!
|
|
|
OmniSharp/omnisharp-roslyn
OmniSharp server (HTTP, STDIO) based on Roslyn workspaces
|
|
|
stryker-mutator/stryker-net
Mutation testing for .NET core and .NET framework!
|
|
|
microsoft/nodejstools
Node.js Tools for Visual Studio
|
|
|
ikvmnet/ikvm
A Java Virtual Machine and Bytecode-to-IL Converter for .NET
|
|
|
castleproject/Windsor
Castle Windsor is a best of breed, mature Inversion of Control container available for .NET
|
|
|
kubernetes-client/csharp
Officially supported dotnet Kubernetes Client library
|
|
|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 18.6.0 | 4,564,388 | 5/26/2026 |
| 18.5.1 | 8,608,027 | 4/28/2026 |
| 18.4.0 | 7,257,637 | 4/7/2026 |
| 18.3.0 | 18,572,463 | 2/24/2026 |
| 18.0.1 | 55,015,520 | 11/11/2025 |
| 18.0.0 | 14,690,571 | 10/2/2025 |
| 17.14.1 | 61,956,569 | 6/3/2025 |
| 17.14.0 | 8,714,792 | 5/20/2025 |
| 17.14.0-preview-25107-01 | 342,403 | 2/10/2025 |
| 17.13.0 | 88,984,444 | 2/10/2025 |
| 17.12.0 | 93,354,423 | 11/19/2024 |
| 17.11.1 | 69,969,797 | 9/5/2024 |
| 17.11.0 | 14,193,579 | 8/20/2024 |
| 17.11.0-release-24373-02 | 145,323 | 7/24/2024 |
| 17.11.0-release-24352-06 | 116,561 | 7/2/2024 |
| 17.10.0 | 65,056,127 | 5/22/2024 |
| 17.10.0-release-24177-07 | 222,880 | 4/2/2024 |
| 17.9.0 | 62,068,554 | 2/6/2024 |
| 1.0.0-alpha-stj-26213-07 | 285 | 4/14/2026 |