diff options
author | eileencodes <eileencodes@gmail.com> | 2016-06-30 09:01:12 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2016-06-30 09:01:12 -0400 |
commit | bb9a4f3f6daafb0089c068522dec0380e68d7fcd (patch) | |
tree | 490aea4a3281ef8c8862bfe0ee4f688e73f1ed4e /guides | |
parent | 629a13a4c57355ff3ab50512e9c2d0f480900726 (diff) | |
parent | a683240a3275693912346b71383174d12c543d59 (diff) | |
download | rails-bb9a4f3f6daafb0089c068522dec0380e68d7fcd.tar.gz rails-bb9a4f3f6daafb0089c068522dec0380e68d7fcd.tar.bz2 rails-bb9a4f3f6daafb0089c068522dec0380e68d7fcd.zip |
Merge branch 'add-test-runner-to-release-notes'
This is an slight refactoring/improved version of #25586.
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/5_0_release_notes.md | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/guides/source/5_0_release_notes.md b/guides/source/5_0_release_notes.md index 3b10dc7526..7b5c6cf345 100644 --- a/guides/source/5_0_release_notes.md +++ b/guides/source/5_0_release_notes.md @@ -154,10 +154,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 -------- |