Skip to main content

A SpecSync plugin that synchronizes C# MsTes test methods as Test Cases.

Total Downloads
62.8K
62,796
Published
Aug 14, 2026
2mo ago

Get Started

dotnet add package SpecSync.Plugin.MsTestTestSource --version 5.1.0
ProductVersions
.NET Standard
netstandard2.0

README

MsTest Test Source SpecSync Plugin: SpecSync.Plugin.MsTestTestSource

Allows synchronizing "C# MsTest Tests" and publish results from TRX result files.

You can find more information about the SpecSync sample plugins in the repository page.

The plugin processes the C# files in the configured folder tree and searches for MsTest test methods, like:

[TestMethod]
[TestCategory("MyCategory")]
public void OnePassingTest()
{
    ...
}

These test methods are the potential local test cases to be synchronized.

Once the methods are linked to a newly created Azure DevOps Test Case, the Test Case ID is inserted into the C# file as a [TestCategory] attribute using a "SpecSync tag" (see below).

Specifying tags for SpecSync
  • Specify tags for the tests, using the [TestCategory] attribute:
    • [TestCategory("my_tag")] or [TestCategory("story:123")]

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.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.