lundi 3 août 2015

Can I run just tests inside a subfolder of the test folder in Rails (Minitest)?

Hard to believe this hasn't been asked before, but I couldn't find it.

I am trying to run only my Capybara tests who are inside their own folder test/integration/capybara. I tried to do it by bundle exec rake test test/integration/capybara but it always runs all the tests under test. In the Rails Guides it says I can invoke just my integration tests by rake test:integration which works. But rake test test:integration:capybara doesn't. Is it possible to go deeper than one level?

Aucun commentaire:

Enregistrer un commentaire