ReportPortal.XUnit.V3 1.0.0

Prefix Reserved
dotnet add package ReportPortal.XUnit.V3 --version 1.0.0
                    
NuGet\Install-Package ReportPortal.XUnit.V3 -Version 1.0.0
                    
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="ReportPortal.XUnit.V3" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ReportPortal.XUnit.V3" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ReportPortal.XUnit.V3" />
                    
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 ReportPortal.XUnit.V3 --version 1.0.0
                    
#r "nuget: ReportPortal.XUnit.V3, 1.0.0"
                    
#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 ReportPortal.XUnit.V3@1.0.0
                    
#: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=ReportPortal.XUnit.V3&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ReportPortal.XUnit.V3&version=1.0.0
                    
Install as a Cake Tool

CI

ReportPortal integration for xUnit v3

Important Note about xUnit v3 Custom Reporters

According to xUnit v3 documentation, custom runner reporters are only supported by the in-process console runner. This means:

  • Custom reporters work only when directly running the test project (by directly invoking the test project .exe or when using dotnet run)
  • Custom reporters are not supported by multi-assembly runners like:
    • xunit.v3.runner.console
    • xunit.v3.runner.msbuild
    • xunit.runner.visualstudio (which means they don't work with dotnet test or Test Explorer)

This is a limitation of xUnit v3's design, where test projects are stand-alone executables.

Installation

Install ReportPortal.XUnit.V3 NuGet package in your xUnit v3 test project.

NuGet Badge

Configuration

Add ReportPortal.json file to the test project.

{
  "$schema": "https://raw.githubusercontent.com/reportportal/agent-dotnet-xunit.v3/main/ReportPortal.config.schema",
  "enabled": true,
  "server": {
    "url": "https://rp.epam.com/api/v1/",
    "project": "default_project",
    "apiKey": "<your_rp_api_key_here>"
  },
  "launch": {
    "name": "XUnit Demo Launch",
    "description": "this is description",
    "debugMode": false,
    "attributes": [ "t1", "os:win10" ]
  }
}

Read more about configuration of other available options and alternative ways how to provide options.

Important Limitations

⚠️ The following methods of running tests will not work with the ReportPortal reporter due to xUnit v3 limitations:

  • dotnet test
  • dotnet vstest
  • vstest.console.exe
  • Visual Studio Test Explorer
  • xunit.v3.runner.console.exe

This is because these runners do not support custom reporters in xUnit v3.

Additional Resources

Integrating Logger Frameworks with xUnit v3

You can integrate various logging frameworks with ReportPortal:

See here for more information on how to improve your logging experience with attachments or nested steps.

Useful Extensions

  • Skippable marks skipped tests as No Defect automatically
  • SourceBack adds piece of test code where test was failed
  • Insider brings more reporting capabilities without coding like methods invocation as nested steps

License

ReportPortal is licensed under Apache 2.0

We use Google Analytics for sending anonymous usage information as library's name/version and the agent's name/version when starting launch. This information might help us to improve integration with ReportPortal. Used by the ReportPortal team only and not for sharing with 3rd parties. You are able to turn off it if needed.

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. 
.NET Framework net472 is compatible.  net48 was computed.  net481 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.0.0 4,463 11/9/2025