also looking at this
Add reproducible randomized test order
#29
18 files
+487
-42
| @@ -7,7 +7,10 @@ pub const Status = enum { pending, running, passed, flaky, failed, skipped }; | ||
| 7 | 7 | pub const HookKind = enum { before_all, before_each, after_each, after_all }; |
| 8 | 8 | pub const OutputStream = enum { stdout, stderr }; |
| 9 | 9 | |
| 10 | pub const RunStart = struct { total: usize }; | |
| 10 | pub const RunStart = struct { | |
| 11 | total: usize, | |
| 12 | random_seed: ?u64 = null, | |
| 13 | }; | |
| 11 | 14 | pub const RunEnd = struct { |
| 12 | 15 | total: usize, |
| 13 | 16 | passed: usize, |
| @@ -15,6 +18,7 @@ pub const RunEnd = struct { | ||
| 15 | 18 | failed: usize, |
| 16 | 19 | skipped: usize, |
| 17 | 20 | duration_ns: u64 = 0, |
| 21 | random_seed: ?u64 = null, | |
| 18 | 22 | }; |
| 19 | 23 | pub const Suite = struct { name: []const u8 }; |
| 20 | 24 | pub const TestStart = struct { name: []const u8, suite: ?[]const u8 = null }; |