aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/test_unit/reporter_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-30/+30
|
* applies new string literal convention in railties/testXavier Noria2016-08-061-8/+8
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* modify to `error` also abort when specify fail fast optionyuuji.yaginuma2016-02-171-3/+14
|
* fix more failing tests due to 07e422f ... :pray:Yves Senn2016-02-151-2/+2
|
* Add colored output to the new test reporter.Lucas Mazza2015-12-221-3/+35
|
* display detailed information in inline reportingyuuji.yaginuma2015-12-211-3/+6
| | | | | | | | | | | | | | | | | | | | | The errors message only was not displayed, as if it did not use the inline reporting, modified to also information the method name and the like in error are displayed. ``` # before Failed assertion, no message given. bin/rails test test/models/user_test.rb:5 ``` ``` # after Failure: UserTest#test_the_truth: Failed assertion, no message given. bin/rails test test/models/user_test.rb:5 ```
* Don't match specific line numbers in reporter tests.Kasper Timm Hansen2015-11-121-4/+4
| | | | The overall syntax of the file path is more important, not the exact line it was on.
* Output inline is set to true in the plugin.Kasper Timm Hansen2015-10-071-2/+2
| | | | | | Change the reporter to just read the option. Pass output_inline where needed in tests.
* Add fail fast to test runner.Kasper Timm Hansen2015-09-291-0/+24
| | | | | Passing `--fail-fast` to the test runner will now abort the test run on the first failure. The run continues on any unexpected errors.
* Add inline failure reporting to test runner.Kasper Timm Hansen2015-09-281-1/+36
| | | | | | | | | Any failures or errors will be reported inline during the run by default. Skipped tests will be reported if run in verbose mode. Any result is output with failure messages and a rerun snippet for that test. Rerun snippets won't be output after a run, unless `--defer-output` is passed.
* do not show "Failed tests" message when a failed test is notyuuji.yaginuma2015-06-231-0/+1
|
* remove unused variable in reporter testyuuji.yaginuma2015-06-221-1/+0
|
* make it possible to customize the executable inside rereun snippets.Yves Senn2015-06-131-0/+14
| | | | | | | | | | | | | | | | | | | In the Rails repository we use a `bin/test` executable to run our tests. However the rerun snippets still included `bin/rails test`: BEFORE: ``` Failed tests: bin/rails test test/cases/adapters/postgresql/schema_test.rb:91 ``` AFTER: ``` Failed tests: bin/test test/cases/adapters/postgresql/schema_test.rb:91 ```
* Fix reporter test and verbose modeArthur Neves2015-03-181-9/+7
|
* add tests for our minitest reporter.Yves Senn2015-03-181-0/+76