Xping for .NET
Stop guessing. Start knowing which tests you can trust.
Welcome
Welcome to the Xping documentation for .NET! Xping is a test reliability platform that helps you identify flaky tests, understand test quality, and build confidence in your test suite.
What is Xping?
Xping is a complete test reliability solution consisting of two components that work together:
Xping SDK
A lightweight library that integrates with your test framework (NUnit, xUnit, MSTest) to automatically track test executions. It collects test results, timing, environment data, and outcomes with minimal overhead (less than 5ms per test).
Xping Dashboard
A cloud platform that analyzes your test data to identify flaky tests, calculate confidence scores, and provide actionable insights. Access it at app.xping.io.
How they work together: The SDK collects test execution data and sends it to the Dashboard, where statistical analysis identifies patterns, detects flaky tests, and helps you understand your test suite's reliability.
What You Get
Automatic Flaky Test Detection - Statistical analysis identifies unreliable tests before they become a problem
Test Reliability Insights - See which tests you can trust and which need attention
Zero-Config Setup - Add one attribute or line of code, start tracking immediately
Minimal Overhead - Less than 5ms per test, sub-1KB memory footprint
Environment Comparison - Understand how tests behave locally vs. CI/CD
Historical Trends - See test reliability over time across all environments
Quick Start
Get started in under 5 minutes:
1. Choose Your Test Framework
|
NUnit
|
xUnit
|
MSTest
|
2. Get Your API Key
Sign up at app.xping.io and get your API key from Account → Settings → API & Integration
3. Configure Your Project
{
"Xping": {
"ApiKey": "your-api-key",
"ProjectId": "your-project-name"
}
}
Note:
ProjectIdis any meaningful identifier you choose (e.g.,"my-app"). Xping automatically creates the project when tests first run. You can have multiple projects to organize tests across different applications or components.
4. Add Tracking to Your Tests
Add one attribute or line of code (framework-specific - see guides above)
5. Run Your Tests
That's it! Run your tests normally and view insights in the Xping Dashboard
Documentation Structure
Getting Started
Quick start guides for each test framework and CI/CD integration
Configuration
Comprehensive configuration options and environment setup
Guides
Practical guides for using Xping SDK features
Getting Started:
Working with Tests:
- Identifying Flaky Tests
- Common Flaky Patterns
- Fixing Flaky Tests
- Monitoring Test Health
- Best Practices
Optimization:
Performance
Performance benchmarks and optimization guidelines
Troubleshooting
Common issues and solutions
API Reference
Complete API documentation for all SDK components
Why Xping?
The Problem
How much time did your team waste debugging flaky tests last week?
We've all been there. Your test passes locally but fails in CI. You re-run it and it passes. You waste hours investigating only to find out the test itself is unreliable, not your code.
Traditional test frameworks tell you if a test passed or failed—but they don't tell you if you can trust that result. Teams waste countless hours:
- Re-running tests hoping they'll pass
- Debugging tests that fail intermittently
- Wondering if failures are real bugs or environmental issues
- Lacking visibility into test reliability across environments
The Solution
Xping provides:
- Confidence Scores - Multi-factor analysis combining pass rates, execution stability, retry behavior, environment consistency, failure patterns, and dependency impact
- Flaky Test Detection - Automatically identify unreliable tests using statistical analysis
- Trend Analysis - Visualize test reliability over time
- Environment Context - Understand where tests fail most
- Actionable Insights - Know which tests need attention
How Confidence Scores Work: Xping analyzes test execution history across six weighted factors: pass rate (35%), execution stability (20%), retry behavior (15%), environment consistency (15%), failure patterns (10%), and dependency impact (5%). This produces a 0-1 score that distinguishes truly flaky tests from consistently passing or failing ones. Learn more in the Understanding Confidence Scores guide.
How It Works
- Track - Xping SDK captures test execution data (duration, outcome, environment)
- Send - SDK securely transmits data to Xping Dashboard
- Analyze - Dashboard analyzes patterns across thousands of test runs
- Detect - Statistical analysis identifies flaky tests and anomalies
- Alert - Get notified when test reliability drops
- Improve - Use insights to fix flaky tests and improve suite health
Sample Projects
Explore complete working examples:
Support & Community
- Documentation - Comprehensive guides and references
- GitHub Discussions - Ask questions and share feedback
- Issue Tracker - Report bugs and request features
- Email Support - Direct support from our team
- Xping Dashboard - View your test insights
Contributing
Xping SDK is open source! We welcome contributions from the community.
- View our Code of Conduct
- Read the Contributing Guide
- Check out open issues
License
Xping SDK is licensed under the MIT License.
Ready to improve your test reliability? Get Started →