rake
rake copied to clipboard
rake -t not working
Rails version 4.2.7.1
bundle exec rake test test/somewhere/file.rb -t
** Invoke test (first_time)
** Execute test
** Invoke test:single (first_time)
** Execute test:single
Running via Spring preloader in process 65713
invalid option: -t
minitest options:
-h, --help Display this help.
--no-plugins Bypass minitest plugin auto-loading (or set $MT_NO_PLUGINS).
-s, --seed SEED Sets random seed. Also via env. Eg: SEED=n rake
-v, --verbose Verbose. Show progress processing files.
-n, --name PATTERN Filter run on /regexp/ or string.
-e, --exclude PATTERN Exclude /regexp/ or string from run.
Known extensions: pride
-p, --pride Pride. Show your testing pride!
This works on my system.
How is Rake::TestTask
defined in your Rakefile
?
What version of rake
and minitest
?