1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge branch 'add-test-runner-to-release-notes'

This is an slight refactoring/improved version of #25586.
This commit is contained in:
eileencodes 2016-06-30 09:01:12 -04:00
parent 9678492b8a
commit e6deba7028

View file

@ -155,10 +155,23 @@ for a detailed write up.
### Test Runner
[Pull Request](https://github.com/rails/rails/pull/19216)
ToDo...
A new test runner has been introduced to enhance the capabilities of running tests from Rails.
To use this test runner simply type `bin/rails test`.
Test Runner is inspired from `RSpec`, `minitest-reporters`, `maxitest` and others.
It includes some of these notable advancements:
- Run a single test using line number of test.
- Run multiple tests pinpointing to line number of tests.
- Improved failure messages, which also add ease of re-running failed tests.
- Fail fast using `-f` option, to stop tests immediately on occurrence of failure,
instead of waiting for the suite to complete.
- Defer test output until the end of a full test run using the `-d` option.
- Complete exception backtrace output using `-b` option.
- Integration with `Minitest` to allow options like `-s` for test seed data,
`-n` for running specific test by name, `-v` for better verbose output and so forth.
- Colored test output
Railties
--------