We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7adc026 commit 6eaa1f1Copy full SHA for 6eaa1f1
engine.go
@@ -711,6 +711,11 @@ func (t *T) Skip(args ...any) {
711
// If too many test cases are skipped, rapid will mark the test as failing
712
// due to inability to generate enough valid test cases.
713
//
714
+// The test case or action will be treated like it had never been drawn
715
+// and will not be shown in test logs.
716
+// Therefore, to avoid confusing test failures later on,
717
+// [SkipNow] must not be called after the action has already mutated shared state.
718
+//
719
// Prefer *Generator.Filter to SkipNow, and prefer generators that always produce
720
// valid test cases to Filter.
721
func (t *T) SkipNow() {
0 commit comments