Get Started
dotnet add package Microsoft.TestPlatform.TranslationLayer --version 18.11.0
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard | |
| Other |
README
Microsoft.TestPlatform.TranslationLayer
The C# SDK for the Visual Studio Test Platform protocol. Use this package to programmatically discover and execute tests from IDEs, editors, or custom tools by communicating with vstest.console.
Usage
<PackageReference Include="Microsoft.TestPlatform.TranslationLayer" Version="x.y.z" />
Example
var vstestConsolePath = "<path to vstest.console.exe or .dll>";
var consoleWrapper = new VsTestConsoleWrapper(vstestConsolePath);
consoleWrapper.StartSession();
consoleWrapper.InitializeExtensions(extensionPaths);
// Discover tests
consoleWrapper.DiscoverTests(testAssemblies, settings, discoveryHandler);
// Run tests
consoleWrapper.RunTests(testAssemblies, settings, executionHandler);
Links
Downloads by Version
Similar & Alternative Packages
Hand-picked matching NuGet libraries based on tags & ecosystem
Depended On By
Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
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.