Skip to content

Commit 7e96b5a

Browse files
authored
Merge pull request #151 from argos-ci/flaky-test-detection
Add flaky test detection page
2 parents f6d43f4 + 3bcae75 commit 7e96b5a

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

docs/learn/flaky-test-detection.mdx

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
slug: /flaky-test-detection
3+
title: Flaky Test Detection
4+
---
5+
6+
import flakyIndicator from "./flaky-test-detection/flaky-indicator.png";
7+
import testPageExample from "./flaky-test-detection/test-page-example.png";
8+
9+
Argos flags unstable tests so you can decide with confidence. See a flaky badge next to every changed test and dive into detailed history and stability scores on a dedicated test page
10+
11+
<img
12+
src={flakyIndicator}
13+
alt="Flaky indicator next to a test change"
14+
className="rounded"
15+
style={{ marginBottom: 20, width: 600 }}
16+
/>
17+
_Example of the flaky indicator in a build review_
18+
19+
## View flaky indicators in your build review
20+
21+
1. Open any build in Argos
22+
2. Spot the flaky badge beside each changed test
23+
3. Hover over the badge to see details about the test's stability
24+
25+
## Explore the test page
26+
27+
By clicking on the flaky badge, you will be taken to the test page where you can see the full history of the test and its stability score.
28+
29+
<img
30+
src={testPageExample}
31+
alt="Test page showing history and flaky score"
32+
className="rounded"
33+
style={{ marginBottom: 20, width: 600 }}
34+
/>
35+
_A sample test page with history timeline and score_
36+
37+
On the test page you will find:
38+
39+
- Timeline of every change that affected the test
40+
- Stability graph showing pass rate over time
41+
- Calculated flaky score from zero up to one hundred
42+
- List of changes happened to the test
43+
44+
Use this information to approve stable tests or flag flaky ones for fixes.
60.8 KB
Loading
647 KB
Loading

0 commit comments

Comments
 (0)