https://github.com/walles/mvn-testalot
Run "mvn test" multiple times and report slow / flaky tests
https://github.com/walles/mvn-testalot
flaky-tests maven performance testing-tools
Last synced: 2 months ago
JSON representation
Run "mvn test" multiple times and report slow / flaky tests
- Host: GitHub
- URL: https://github.com/walles/mvn-testalot
- Owner: walles
- Created: 2021-02-11T07:48:33.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-14T11:42:56.000Z (over 1 year ago)
- Last Synced: 2024-02-14T12:45:39.159Z (over 1 year ago)
- Topics: flaky-tests, maven, performance, testing-tools
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mvn-testalot
Run `mvn test` multiple times and report on slow / flaky tests.
# Example commands
Run `mvn test` 10 times:
```
mvn-testalot.py 10
```Analyze results:
```
mvn-testalot.py report
```# Example output
Output is printed as human readable Markdown, for easy GitHub bug reporting.
# Slow tests
| Result | Duration | Name |
|--------|---------------|------|
| FAIL | 9.8s (0.6s) | `org.example.DemoTest.bar()` |
| FAIL | 9.2s (0.7s) | `org.example.DemoTest.foo()` |
| ok | 8.5s (0.2s) | `org.example.DemoTest.baz()` |# Flaky tests
`.` = pass, `x` = fail, `E` = error
| Result | Name |
|--------|------|
| `....x....x` | `org.example.DemoTest.bar()` |
| `x....x....` | `org.example.DemoTest.foo()` |