Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/getting-started/quickstart-nunit.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public void Login_ShouldSucceed(string role, bool expected) { ... }
// Automatically produces: "login-v1:admin,true" and "login-v1:user,false"
```

> **💡 Tip:** Once you publish a run with a pinned fingerprint, treat that value as permanent. Renaming the method is safe—that is the whole point—but changing the attribute value itself severs the link to all historical data for that test.
> **Important:** Once you publish a run with a pinned fingerprint, treat that value as permanent. Renaming the method is safe—that is the whole point—but changing the attribute value itself severs the link to all historical data for that test.

---

Expand Down
2 changes: 2 additions & 0 deletions samples/SampleApp.NUnit/SampleTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
namespace SampleApp.NUnit;

using global::NUnit.Framework;
using Xping.Sdk.Core.Attributes;
using Xping.Sdk.NUnit;

#pragma warning disable CA1707 // Identifiers should not contain underscores
Expand Down Expand Up @@ -58,6 +59,7 @@ public void ThrowingTestIsTracked()
[Category("Flaky")]
[Category("Random")]
[Description("Demonstrates a flaky test that fails randomly due to probabilistic behavior")]
[XpingFingerprint("flaky-random-failure-v1")] // Pin a constant fingerprint to maintain historical data across refactors
public async Task FlakyTest_RandomFailure_FailsProbabilistically()
{
// Random.Shared is cryptographically seeded by the runtime — no TickCount bias.
Expand Down
Loading