Qase.MSTest.Reporter
1.1.27
dotnet add package Qase.MSTest.Reporter --version 1.1.27
NuGet\Install-Package Qase.MSTest.Reporter -Version 1.1.27
<PackageReference Include="Qase.MSTest.Reporter" Version="1.1.27" />
<PackageVersion Include="Qase.MSTest.Reporter" Version="1.1.27" />
<PackageReference Include="Qase.MSTest.Reporter" />
paket add Qase.MSTest.Reporter --version 1.1.27
#r "nuget: Qase.MSTest.Reporter, 1.1.27"
#:package Qase.MSTest.Reporter@1.1.27
#addin nuget:?package=Qase.MSTest.Reporter&version=1.1.27
#tool nuget:?package=Qase.MSTest.Reporter&version=1.1.27
Qase TestOps MSTest Reporter
Publish your test results easily and effectively with Qase TestOps.
Installation
dotnet add package Qase.MSTest.Reporter
Or add directly to your .csproj file:
<PackageReference Include="Qase.MSTest.Reporter" Version="1.1.8" />
Features
- Automatic test case generation from MSTest tests
- Link automated tests to existing Qase test cases using
[QaseIds]attribute - Report test results in real-time to Qase TestOps
- Support for test steps using
[Step]attribute - Attach files and screenshots to test results
- Capture test metadata (title, fields, suites)
- Parametrized test support with
[DataRow]and[DynamicData] - Flexible configuration via
qase.config.jsonor environment variables
Project Setup
The Qase MSTest reporter uses Microsoft Testing Platform (MTP) v2. Your test project requires specific settings in the .csproj file for the reporter to work.
Required .csproj Settings
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<EnableMSTestRunner>true</EnableMSTestRunner>
<OutputType>Exe</OutputType>
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MSTest.TestFramework" Version="3.7.3" />
<PackageReference Include="MSTest.TestAdapter" Version="3.7.3" />
<PackageReference Include="Qase.MSTest.Reporter" Version="1.1.8" />
</ItemGroup>
<ItemGroup>
<Content Include="qase.config.json" Condition="Exists('qase.config.json')">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>
| Property | Required | Description |
|---|---|---|
EnableMSTestRunner |
Yes | Enables the MTP v2 test runner instead of the legacy VSTest runner |
OutputType |
Yes | Must be Exe when EnableMSTestRunner is enabled |
TestingPlatformDotnetTestSupport |
Yes | Enables dotnet test integration with the MTP v2 runner |
Important: Without these three properties, the Qase reporter extension will not be registered and test results will not be reported.
Quick Start
1. Configure the Reporter
Create a qase.config.json file in your project root:
{
"mode": "testops",
"testops": {
"api": {
"token": "<your-api-token>"
},
"project": "<your-project-code>"
}
}
Make sure the config file is copied to the output directory (see the <Content> item in the .csproj example above).
2. Add Qase Attributes to Your Tests
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Qase.Csharp.Commons.Attributes;
[TestClass]
public class ExampleTests
{
[TestMethod]
[QaseIds(1)]
[Title("Example Test")]
public void SimpleTest()
{
Assert.IsTrue(true);
}
}
3. Run Your Tests
Execute your tests using the dotnet CLI:
dotnet test
View your results at: https://app.qase.io/run/PROJECT_CODE
Documentation
| Document | Description | Link |
|---|---|---|
| Usage Guide | Comprehensive guide to using all reporter features | docs/usage.md |
| Attachments | How to attach files and screenshots to test results | docs/ATTACHMENTS.md |
| Test Steps | How to add structured steps to your tests | docs/STEPS.md |
| Configuration Reference | Complete configuration options for Qase reporters | Qase.Csharp.Commons |
Test Result Statuses
| MSTest Status | Qase Status | Description |
|---|---|---|
| Passed | Passed | Test assertions succeeded |
| Failed | Failed | Test assertion failed (Assert.AreEqual, Assert.IsTrue, etc.) |
| Error | Invalid | Test failed due to runtime exception (not assertion) |
| Skipped | Skipped | Test was skipped via MSTest [Ignore] or conditional skip |
Requirements
- MSTest: Version 3.0 or higher is required.
- .NET: Version 6.0 or higher is required.
For further assistance, please refer to the Qase Authentication Documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Testing.Platform (>= 1.5.3)
- MSTest.TestFramework (>= 3.7.3)
- Qase.Csharp.Commons (>= 1.1.27)
-
net6.0
- Microsoft.Testing.Platform (>= 1.5.3)
- MSTest.TestFramework (>= 3.7.3)
- Qase.Csharp.Commons (>= 1.1.27)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.27 | 55 | 9/2/2026 |
| 1.1.26 | 85 | 8/27/2026 |
| 1.1.25 | 83 | 8/25/2026 |
| 1.1.24 | 94 | 8/17/2026 |
| 1.1.23 | 94 | 8/11/2026 |
| 1.1.22 | 113 | 7/7/2026 |
| 1.1.21 | 107 | 6/29/2026 |
| 1.1.20 | 114 | 6/25/2026 |
| 1.1.19 | 108 | 6/10/2026 |
| 1.1.18 | 112 | 4/23/2026 |
| 1.1.17 | 103 | 4/21/2026 |
| 1.1.16 | 110 | 4/14/2026 |
| 1.1.15 | 110 | 4/7/2026 |
| 1.1.14 | 113 | 4/7/2026 |
| 1.1.13 | 108 | 4/2/2026 |
| 1.1.12 | 112 | 3/26/2026 |
| 1.1.11 | 106 | 3/25/2026 |
| 1.1.10 | 108 | 3/25/2026 |
| 1.1.9 | 111 | 3/18/2026 |
| 1.1.8 | 113 | 3/11/2026 |