| Josh Bleecher Snyder | 833a0f8 | 2025-04-24 18:39:36 +0000 | [diff] [blame] | 1 | Going from a skipped test to a failing test is a regression |
| 2 | |
| 3 | -- p_test.go -- |
| 4 | package p |
| 5 | |
| 6 | import "testing" |
| 7 | |
| 8 | func TestP(t *testing.T) { |
| 9 | t.SkipNow() |
| 10 | } |
| 11 | |
| 12 | -- .commit -- |
| 13 | Initial commit with skipped test |
| 14 | |
| 15 | -- p_test.go -- |
| 16 | package p |
| 17 | |
| 18 | import "testing" |
| 19 | |
| 20 | func TestP(t *testing.T) { |
| 21 | t.FailNow() |
| 22 | } |
| 23 | |
| 24 | -- .commit -- |
| 25 | Change skipped test to failing test |
| 26 | |
| 27 | -- .run_test -- |
| Josh Bleecher Snyder | ffecb1e | 2025-04-28 18:59:14 +0000 | [diff] [blame] | 28 | # Errors |
| 29 | |
| Josh Bleecher Snyder | 2fde465 | 2025-05-01 17:50:34 -0700 | [diff] [blame] | 30 | Test regressions detected between initial commit (INITIAL_COMMIT_HASH) and HEAD: |
| Josh Bleecher Snyder | 833a0f8 | 2025-04-24 18:39:36 +0000 | [diff] [blame] | 31 | |
| 32 | 1: sketch.dev.TestP: Was skipped, now failing |
| 33 | |
| 34 | |
| 35 | Please fix before proceeding. |