Skip to content

Commit

Permalink
add more usage docs
Browse files Browse the repository at this point in the history
  • Loading branch information
houen committed May 26, 2024
1 parent 919247d commit ee6bec4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,22 @@ Minitest::Reporters.use! [
]
```

Now failed tests and seed will be printed at the end of the test report.

If you have installed the binstub, you can rerun the failed tests with
```
bin/rerun_failed_tests
```

If you have not installed the binstub, you can rerun the failed tests with something like:
```
# Ruby:
ruby $(cat .minitest_failed_tests.txt)
# Rails:
bundle exec rails test $(cat .minitest_failed_tests.txt)
```

### Options
- include_line_numbers: Include line numbers in outputs. Defaults to true
- verbose: Output to stdout. Defaults to true
Expand Down

0 comments on commit ee6bec4

Please sign in to comment.