rake icon indicating copy to clipboard operation
rake copied to clipboard

rake -t not working

Open briangmotive opened this issue 5 years ago • 1 comments

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!

briangmotive avatar Oct 07 '19 22:10 briangmotive

This works on my system.

How is Rake::TestTask defined in your Rakefile?

What version of rake and minitest?

esotericpig avatar Apr 17 '20 16:04 esotericpig