Kasper Timm Hansen
b6fc8e25a1
Improve test runner's Minitest integration.
...
This also adds free mix and matching of directories, files and lines filters.
Like so:
bin/rails test models/post_test.rb test/integration models/person_test.rb:26
You can also mix in a traditional Minitest filter:
bin/rails test test/integration -n /check_it_out/
2015-06-04 20:57:08 +02:00
Arthur Neves
a9eb12393f
Use absolute path on find_method location for the runner
2015-03-19 10:15:03 -04:00
Arthur Neves
f10c7e1849
Fix reporter test and verbose mode
2015-03-18 09:52:19 +01:00
Yves Senn
6ccbeb458a
move ENV["BACKTRACE"]
support into the TestRunner.
2015-03-18 09:52:19 +01:00
Yves Senn
f78708c180
use bin/rails t
runner in test_runner_test.rb
.
2015-03-18 09:52:18 +01:00
Arthur Neves
de94929d70
Fix relative dir call on test runner
2015-03-18 09:52:18 +01:00
Arthur Neves
3cc783b6bf
Add tests for runner#test_files method
2015-03-18 09:52:18 +01:00
Arthur Neves
b58c0914f4
Run multiple files on runner
2015-03-18 09:52:18 +01:00
Yves Senn
090c83672f
-e
/ --environment
for the test runner.
2015-03-18 09:52:18 +01:00
Yves Senn
613bdd9d4c
get rid of NAMED_PATTERNS in favor of running a whole directory
2015-03-18 09:52:18 +01:00
Yves Senn
ff79441d49
add tests for our minitest reporter.
2015-03-18 09:52:17 +01:00
Arthur Neves
d1a5460e3e
Better file:line parsing and filter method by file too
2015-03-18 09:52:17 +01:00
Yves Senn
c5532e06d9
spike of a OptionParser
backed test runner.
2015-03-18 09:52:16 +01:00