Ensuring critical tests against flakiness with a faster feedback loop and easier developer experience.
- Avoiding the uncertainty about the health of long-running tests which have no output
- Automate the tedium of running smaller batches
$ source ./itest.sh # or add this to your .bashrc/.zshrc/etc.
$ itest
Usage: itest <go_test_count> <loop_limit> <package_path> [optional_flags]
$ itest 20 5 ./pkg/observable/...
Iteration 1 of 5...
? pocket/pkg/observable [no test files]
ok pocket/pkg/observable/channel 2.643s
Iteration 2 of 5...
? pocket/pkg/observable [no test files]
ok pocket/pkg/observable/channel 2.650s
Iteration 3 of 5...
? pocket/pkg/observable [no test files]
ok pocket/pkg/observable/channel 2.650s
^CInterrupted. Total tests run: 60