Skip to content

Update documentation and add xping test fingerprint#88

Open
xping-admin wants to merge 1 commit into
mainfrom
fix/update-docs-and-fingerprint
Open

Update documentation and add xping test fingerprint#88
xping-admin wants to merge 1 commit into
mainfrom
fix/update-docs-and-fingerprint

Conversation

@xping-admin
Copy link
Copy Markdown
Collaborator

This pull request introduces improvements to the sample NUnit test suite and documentation, focusing on test tracking and clarity for maintaining historical data. The most important changes are grouped below:

Enhancements to test tracking:

  • Added the [XpingFingerprint("flaky-random-failure-v1")] attribute to the FlakyTest_RandomFailure_FailsProbabilistically test in SampleTests.cs to ensure consistent tracking of test history across refactors.
  • Imported Xping.Sdk.Core.Attributes in SampleTests.cs to support the use of fingerprint attributes.

Documentation updates:

  • Updated the tip in quickstart-nunit.md to emphasize the importance of treating pinned fingerprints as permanent, clarifying the impact of changing attribute values on historical test data.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xping-dev xping-dev deleted a comment from xping-bot Bot Mar 19, 2026
@xping-bot
Copy link
Copy Markdown

xping-bot Bot commented Mar 24, 2026

Xping Insights

Insights #01kmfds8 • Analysis completed at 12:43 UTC • How to read these insights

sampleapp-nunit — Confidence Score: 0.77 (Moderately Reliable, Low) • Success: 88% • 7 passed, 1 failed • 14 ms total

Details

  • 🖥️ Environment: Local • macOS 26.3.1 • .NET 9.0.4 • .NET
  • 🔬 Based on 10 executions (Low confidence)

⚠️ Warnings

  • Test has 0% pass rate - consistently broken, not flaky
  • Test runs in only 1 environment(s) - need at least 2 with 5+ runs each to assess consistency
  • Test consistently fails with the same error - this is a broken test, not a flaky one
  • Fix the underlying issue: System.InvalidOperationException
  • High failure rate (100%) - test fails more than it passes
  • Test runs only in one execution mode - cannot assess parallelization impact
  • Limited data: 1 factors unavailable (Environment Consistency)
  • High duration variance (CV: 93.1%) - test timing is unstable
  • Large duration range (34 μs to 232 μs) - may indicate environmental issues
  • High duration variance (CV: 94.4%) - test timing is unstable
  • Large duration range (3 μs to 22 μs) - may indicate environmental issues
  • Low pass rate (40.0%) - test is unreliable
  • High duration variance (CV: 82.6%) - test timing is unstable
  • Large duration range (686 μs to 10 ms) - may indicate environmental issues
  • Wide interquartile range suggests multiple execution paths or conditional logic
  • Need at least 10 failures to analyze failure patterns
  • Limited data: 2 factors unavailable (Environment Consistency, Failure Pattern)

✅ No Flaky Tests Detected

📊 Confidence Breakdown

Factor Score Confidence Level Samples

Powered by Xping • ver 1.0.0-rc.1

@xping-dev xping-dev deleted a comment from xping-bot Bot Mar 24, 2026
@xping-bot
Copy link
Copy Markdown

xping-bot Bot commented Apr 2, 2026

Xping Insights

Insights #01kn7h1h • Analysis completed at 10:03 UTC • How to read these insights

sampleapp-nunit — Suite Reliability: 0.84 (Reliable) • ⚠️ 2 tests need attention • Success: 75%

Details

  • 🧪 6 passed, 2 failed • 16 ms
  • 🖥️ Environment: Local • macOS 26.4.0 • .NET 9.0.4 • NUnit
  • 🔬 Scored: 100% of tests
  • ⚠️ Data confidence: Low — based on limited execution history

✅ No Flaky Tests Detected

📊 Suite Reliability Distribution

Category Tests
🟢 Highly Reliable 5 (62%)
🟡 Reliable 1 (12%)
🔴 Unreliable 2 (25%)
sampleapp-xunit — Suite Reliability: 0.80 (Reliable) • ⚠️ 2 tests need attention • Success: 83%

Details

  • 🧪 10 passed, 1 failed, 1 skipped • 64 ms
  • 🖥️ Environment: Local • macOS 26.4.0 • .NET 9.0.4 • xUnit
  • 🔬 Scored: 100% of tests
  • ⚠️ Data confidence: Low — based on limited execution history

✅ No Flaky Tests Detected

📊 Suite Reliability Distribution

Category Tests
🟢 Highly Reliable 6 (50%)
🟡 Reliable 4 (33%)
Highly Unreliable 2 (17%)

Powered by Xping • ver 0.1.0-alpha.1

@xping-bot
Copy link
Copy Markdown

xping-bot Bot commented Apr 7, 2026

Xping Insights

Insights #01knmbbw • Upload completed at 21:20 UTC • Confidence score analysis in progress... • How to read these insights

sampleapp-xunit • Success: 83% • Full analysis in progress...

Details

  • 🧪 10 passed, 1 failed, 1 skipped • 10 ms

Flaky detection in progress...

Full confidence analysis in progress...

Powered by Xping • ver 0.1.0-alpha.1

@xping-bot
Copy link
Copy Markdown

xping-bot Bot commented Apr 10, 2026

Xping Insights

Insights #01knw1em • Analysis completed at 15:24 UTC • How to read these insights

sampleapp-xunit — Suite Reliability: 0,71 (Moderately Reliable) • Success: 0%

Details

  • 🧪 0 passed, 1 failed • 207 ms
  • 🖥️ Environment: Local • macOS 26.4.1 • .NET 10.0.5 • xUnit
  • 🔬 Scored: 100% of tests

✅ No Flaky Tests Detected

📊 Suite Reliability Distribution

Category Tests
🟠 Moderately Reliable 1 (100%)

Powered by Xping • ver 0.1.0-alpha.1

@xping-bot
Copy link
Copy Markdown

xping-bot Bot commented Apr 29, 2026

Xping Insights

Insights #01kpx6ab • Analysis completed at 19:35 UTC • How to read these insights

sampleapp-xunit — Suite Reliability: 0,70 (Moderately Reliable) • ⚠️ 3 tests need attention • Success: 83%

View problems →

Details

  • 🧪 10 passed, 1 failed, 1 skipped • 58 ms
  • 🖥️ Environment: CI • macOS 26.4.1 • .NET 10.0.5 • xUnit
  • 🔬 Scored: 100% of tests

🐛 Flaky Tests (1 detected)

Test Category Severity Classifier Confidence
SampleApp.XUnit.SampleTests.FlakyTest_EnvironmentState_FailsBasedOnSystemState Timing 🔴 Critical 84%
Evidence for FlakyTest_EnvironmentState_FailsBasedOnSystemState

Pass Rate

  • Pass rate: 68,3% (highly intermittent)
  • Passed 41/60, failed 19/60
  • Neither consistently passing nor consistently failing
  • Classic flaky test signature

Execution Variance

  • Coefficient of variation: 0,53 (high)
  • Mean duration: 77ms, StdDev: 41ms
  • Range: 12ms - 136ms
  • High variance suggests race conditions or resource contention

Retries

  • Test does not use retries

Environment

  • Tested in 2 environments

💡 Fix: Review test for hard-coded delays or sleep statements

📊 Suite Reliability Distribution

Category Tests
🟢 Highly Reliable 8 (67%)
🟡 Reliable 1 (8%)
🟠 Moderately Reliable 2 (17%)
🔴 Unreliable 1 (8%)

Powered by Xping • ver 0.1.0-alpha.2

@xping-bot
Copy link
Copy Markdown

xping-bot Bot commented May 6, 2026

Xping Insights

Analysis completed at 19:52 UTC • How to read these insights

sampleapp-xunit — Moderately Reliable • ⚠️ 3 tests need attention • Success: 75%

⚠️ Tests Needing Attention

Test Category Details
🔴 ThrowingTestIsTracked Highly Unreliable avg 0,2ms · retries: 0
🟠 SkippedTestIsTracked Unreliable avg 0,1ms · retries: 0
🟡 FlakyTest_EnvironmentState_FailsBasedOnSystemState 🐛 Moderately Reliable avg 79,4ms · retries: 0

Review problematic tests →

Details

  • 🧪 9 passed, 2 failed, 1 skipped • 113 ms
  • 🖥️ Environment: CI • macOS 26.4.1 • .NET 10.0.5 • xUnit
  • 🔬 Scored: 12/12 tests (100%)

📊 Suite Reliability Distribution

Category Tests
🟢 Highly Reliable 8 (67%)
🟢 Reliable 1 (8%)
🟡 Moderately Reliable 1 (8%)
🟠 Unreliable 1 (8%)
🔴 Highly Unreliable 1 (8%)

View session →

Powered by Xping • ver 0.1.0-alpha.2

@xping-bot
Copy link
Copy Markdown

xping-bot Bot commented May 9, 2026

Xping Insights

Analysis completed at 08:31 UTC • How to read these insights

sampleapp-xunit — Reliable • ⚠️ 3 tests need attention • Success: 83%

⚠️ Tests Needing Attention

Test Category Details
🟠 ThrowingTestIsTracked Unreliable avg 0,2ms · retries: 0
🟠 SkippedTestIsTracked Unreliable avg 0,1ms · retries: 0
🟡 FlakyTest_EnvironmentState_FailsBasedOnSystemState 🐛 Moderately Reliable avg 66,8ms · retries: 0

Review problematic tests →

Details

  • 🧪 10 passed, 1 failed, 1 skipped • 53 ms
  • 🖥️ Environment: STAGING • macOS 26.4.1 • .NET 10.0.5 • xUnit
  • 🔬 Scored: 12/12 tests (100%)

📊 Suite Reliability Distribution

Category Tests
🟢 Highly Reliable 8 (67%)
🟢 Reliable 1 (8%)
🟡 Moderately Reliable 1 (8%)
🟠 Unreliable 2 (17%)

View session →

Powered by Xping • ver 1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant