Commit 1e4204c
authored
DX-377 Refactor Flakeguard: Separate runner, executor, and parser concerns (#1776)
* wip refactoring
* fix
* Enhance command execution in Flakeguard: capture stdout and stderr separately, improve error handling, and log absolute paths for temporary files.
* Use configs
* Refactor panic and race attribution functions in Flakeguard: update regex patterns for improved accuracy, change function names to exported versions, and enhance error handling for better clarity in failure cases.
* Add more tests
* Add integration tests for the runner package in Flakeguard
* fix go test
* simplify makefile
* Add unit tests for the runner package in Flakeguard: implement mock executors and parsers, and cover various scenarios including success, failure, and rerun cases.
* more refactoring
* refactor cmd/run.go
* Handle command-line-arguments when go test <file> is used
* cleanup comments
* Add unit test for parser to verify handling of parent failures in subtests1 parent fba09e6 commit 1e4204c
File tree
13 files changed
+3546
-2891
lines changed- tools/flakeguard
- cmd
- runner
- example_test_package
- executor
- parser
- testparser
13 files changed
+3546
-2891
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments