Qase.XUnit.V3.Reporter 1.1.27

dotnet add package Qase.XUnit.V3.Reporter --version 1.1.27
                    
NuGet\Install-Package Qase.XUnit.V3.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.XUnit.V3.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.XUnit.V3.Reporter" Version="1.1.27" />
                    
Directory.Packages.props
<PackageReference Include="Qase.XUnit.V3.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.XUnit.V3.Reporter --version 1.1.27
                    
#r "nuget: Qase.XUnit.V3.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.XUnit.V3.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.XUnit.V3.Reporter&version=1.1.27
                    
Install as a Cake Addin
#tool nuget:?package=Qase.XUnit.V3.Reporter&version=1.1.27
                    
Install as a Cake Tool

Qase TestOps xUnit v3 Reporter

License NuGet Downloads

Publish your test results easily and effectively with Qase TestOps.

Installation

dotnet add package Qase.XUnit.V3.Reporter

Or add directly to your .csproj file:

<PackageReference Include="Qase.XUnit.V3.Reporter" Version="1.1.8" />

Features

  • Automatic test case generation from xUnit v3 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 [Theory], [InlineData], and [MemberData]
  • Flexible configuration via qase.config.json or environment variables

Project Setup

The Qase xUnit v3 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>
    <OutputType>Exe</OutputType>
    <TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="xunit.v3.mtp-v2" Version="3.2.2" />
    <PackageReference Include="xunit.runner.visualstudio" Version="3.1.1" />
    <PackageReference Include="Qase.XUnit.V3.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
OutputType Yes Must be Exe for xUnit v3 projects using MTP v2
TestingPlatformDotnetTestSupport Yes Enables dotnet test integration with the MTP v2 runner

Important: Without these properties, the Qase reporter extension will not be registered and test results will not be reported.

Note: The xunit.v3 meta-package defaults to MTP v1. Use xunit.v3.mtp-v2 for explicit MTP v2 support, which is required by the Qase reporter.

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 Qase.Csharp.Commons.Attributes;

public class ExampleTests
{
    [Fact]
    [QaseIds(1)]
    [Title("Example Test")]
    public void SimpleTest()
    {
        Assert.True(true);
    }
}

Note: The using Xunit; directive is not needed if your project uses xUnit v3's global usings via the xunit.v3.mtp-v2 package, which automatically imports Xunit namespaces.

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

xUnit v3 Status Qase Status Description
PassedTestNodeStateProperty Passed Test assertions succeeded
FailedTestNodeStateProperty Failed Test assertion failed (Assert.Equal, Assert.True, etc.)
ErrorTestNodeStateProperty Invalid Test failed due to runtime exception (not assertion)
SkippedTestNodeStateProperty Skipped Test was skipped via Skip parameter or Assert.Skip()

Requirements

  • xUnit v3: Version 3.0 or higher is required.
  • .NET: Version 8.0 or higher is required.

For further assistance, please refer to the Qase Authentication Documentation.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
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 34 9/2/2026
1.1.26 81 8/27/2026
1.1.25 78 8/25/2026
1.1.24 99 8/17/2026
1.1.23 94 8/11/2026
1.1.22 115 7/7/2026
1.1.21 112 6/29/2026
1.1.20 117 6/25/2026
1.1.19 114 6/10/2026
1.1.18 116 4/23/2026
1.1.17 115 4/21/2026
1.1.16 117 4/14/2026
1.1.15 122 4/7/2026
1.1.14 120 4/7/2026
1.1.13 109 4/2/2026
1.1.12 107 3/26/2026
1.1.11 108 3/25/2026
1.1.10 111 3/25/2026
1.1.9 111 3/18/2026
1.1.8 1,271 3/11/2026
Loading failed