Xping.Sdk.NUnit
1.0.0-rc.5
dotnet add package Xping.Sdk.NUnit --version 1.0.0-rc.5
NuGet\Install-Package Xping.Sdk.NUnit -Version 1.0.0-rc.5
<PackageReference Include="Xping.Sdk.NUnit" Version="1.0.0-rc.5" />
<PackageVersion Include="Xping.Sdk.NUnit" Version="1.0.0-rc.5" />
<PackageReference Include="Xping.Sdk.NUnit" />
paket add Xping.Sdk.NUnit --version 1.0.0-rc.5
#r "nuget: Xping.Sdk.NUnit, 1.0.0-rc.5"
#:package Xping.Sdk.NUnit@1.0.0-rc.5
#addin nuget:?package=Xping.Sdk.NUnit&version=1.0.0-rc.5&prerelease
#tool nuget:?package=Xping.Sdk.NUnit&version=1.0.0-rc.5&prerelease
Xping SDK for .NET
Xping brings observability to testing. We help developers and teams understand not just whether tests pass, but whether they can be trusted. Our mission is to eliminate wasted time on flaky tests and provide actionable insights that improve test reliability and confidence.
Features
- 🔍 Test Execution Tracking - Automatic collection of test results, duration, and outcomes
- 📊 Flaky Test Detection - Identify unreliable tests that waste development time
- 🌐 CI/CD Integration - Automatic environment detection for GitHub Actions, Azure DevOps, Jenkins, and more
- 💪 Resilient Upload - Retry logic with exponential backoff and circuit breaker for reliable data delivery
- ⚡ Low Overhead - Minimal performance impact on your test execution
- 🎯 Multi-Framework Support - Works with NUnit, xUnit, and MSTest
Installation
Choose the package for your test framework:
NUnit
dotnet add package Xping.Sdk.NUnit
xUnit
dotnet add package Xping.Sdk.XUnit
MSTest
dotnet add package Xping.Sdk.MSTest
Quick Start
NUnit
using NUnit.Framework;
using Xping.Sdk.NUnit;
// Apply at assembly level for all tests
[assembly: XpingTrack]
// Or apply to specific test fixtures
[TestFixture]
[XpingTrack]
public class CalculatorTests
{
[Test]
public void Add_TwoNumbers_ReturnsSum()
{
var result = Calculator.Add(2, 3);
Assert.AreEqual(5, result);
}
}
xUnit
using Xunit;
// Add to AssemblyInfo.cs or as assembly attribute
[assembly: TestFramework("Xping.Sdk.XUnit.XpingTestFramework", "Xping.Sdk.XUnit")]
public class CalculatorTests
{
[Fact]
public void Add_TwoNumbers_ReturnsSum()
{
var result = Calculator.Add(2, 3);
Assert.Equal(5, result);
}
}
MSTest
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Xping.Sdk.MSTest;
[TestClass]
public class CalculatorTests : XpingTestBase
{
[TestMethod]
public void Add_TwoNumbers_ReturnsSum()
{
var result = Calculator.Add(2, 3);
Assert.AreEqual(5, result);
}
}
Configuration
Configure Xping SDK using appsettings.json or environment variables:
appsettings.json
{
"Xping": {
"ApiKey": "your-api-key",
"ProjectId": "your-project-id",
"Enabled": true,
"ApiEndpoint": "https://upload.xping.io/v1",
"BatchSize": 100,
"FlushInterval": "00:00:30"
}
}
Environment Variables (Recommended for CI/CD)
export XPING_APIKEY="your-api-key"
export XPING_PROJECTID="your-project-id"
export XPING_ENABLED="true"
Key Benefits
Detect Flaky Tests
Automatically identify tests that pass and fail intermittently, helping you focus on real issues rather than debugging unreliable tests.
Track Test History
Monitor test execution trends over time to understand test suite health and identify patterns in failures.
CI/CD Insights
Get detailed insights into test performance across different environments, branches, and pull requests.
Performance Analysis
Track test execution duration to identify slow tests and optimize your test suite.
Requirements
- .NET Standard 2.0 or higher
- .NET Framework 4.6.1+ / .NET Core 2.0+ / .NET 5+
- NUnit 3.14+, xUnit 2.9+, or MSTest 3.2+
Documentation
For detailed documentation, tutorials, and examples, visit:
- GitHub Repository: https://github.com/xping-dev/sdk-dotnet
- Getting Started Guide: https://github.com/xping-dev/sdk-dotnet/blob/main/docs/docs/getting-started.md
- API Documentation: https://docs.xping.io
Support
- Issues: https://github.com/xping-dev/sdk-dotnet/issues
- Discussions: https://github.com/xping-dev/sdk-dotnet/discussions```c#
License
Distributed under the MIT License. See LICENSE file for more information.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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.Extensions.Hosting (>= 10.0.2)
- NUnit (>= 3.14.0)
- Xping.Sdk.Core (>= 1.0.0-rc.5)
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-rc.5 | 73 | 8/20/2026 |
| 1.0.0-rc.4 | 122 | 1/4/2026 |
| 1.0.0-rc.3 | 94 | 1/2/2026 |
Initial release of Xping SDK NUnit adapter with support for test tracking via attributes, automatic environment detection, and integration with NUnit 3.14+.