Crate wumpus_hunter

Source
Expand description

Run test suite of a project repeatedly, to find flaky tests that only sometimes fail.

It is surprisingly easy to accidentally implement an automated test so that it sometimes fails. This might be, for example, when there is a race condition in the test, or in the code under test. The wumpus hunter helps find such tests, by running them repeatedly.

The wumpus hunter is configured to run a test command for a given git repository and branch in that repository. It clones the repository, and pulls updates, and runs the command, either for a given number of times, or indefinitely.

The wumpus hunter is primarily a command line program, but is exposed also as a library in the hope it can be useful for building other useful tools.

Modules§

report
Summary report of all test runs so far, as HTML.
run
Sub-command to repeatedly run test suite for the specified project.
spec
A wumpus hunter project specification.

Structs§

Args
The command line arguments for the wumpus hunter.
DummyLog
Sub-command to produce a dummy HTML run log.
ReportCmd
Sub-command to produce a dummy HTML report.

Enums§

Cmd
The sub-commands for the wumpus hunter.