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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Qase.MSTest.Reporter" Version="1.1.27" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Qase.MSTest.Reporter" Version="1.1.27" />
                    
Directory.Packages.props
<PackageReference Include="Qase.MSTest.Reporter" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Qase.MSTest.Reporter --version 1.1.27
                    
#r "nuget: Qase.MSTest.Reporter, 1.1.27"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Qase.MSTest.Reporter@1.1.27
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Qase.MSTest.Reporter&version=1.1.27
                    
Install as a Cake Addin
#tool nuget:?package=Qase.MSTest.Reporter&version=1.1.27
                    
Install as a Cake Tool

Qase TestOps MSTest Reporter

License NuGet Downloads

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.json or 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed