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
<PackageReference Include="ReportPortal.XUnit.V3" Version="1.0.0" />
<PackageVersion Include="ReportPortal.XUnit.V3" Version="1.0.0" />
<PackageReference Include="ReportPortal.XUnit.V3" />
paket add ReportPortal.XUnit.V3 --version 1.0.0
#r "nuget: ReportPortal.XUnit.V3, 1.0.0"
#:package ReportPortal.XUnit.V3@1.0.0
#addin nuget:?package=ReportPortal.XUnit.V3&version=1.0.0
#tool nuget:?package=ReportPortal.XUnit.V3&version=1.0.0
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 testor 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.
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 testdotnet vstestvstest.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 Defectautomatically - 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 | Versions 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. |
-
.NETFramework 4.7.2
- ReportPortal.Shared (>= 3.10.0)
- xunit.v3.extensibility.core (>= 3.2.0)
- xunit.v3.runner.common (>= 3.2.0)
-
net8.0
- ReportPortal.Shared (>= 3.10.0)
- xunit.v3.extensibility.core (>= 3.2.0)
- xunit.v3.runner.common (>= 3.2.0)
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 |
Please see https://github.com/reportportal/agent-dotnet-xunit.v3/releases/tag/v1.0.0 what is new in this version.