ruby - Rails: Automatically running failed tests -


i run "rake", see tests fail, , have manually cut-and-paste failures new command, "ruby sometest -n some_test_method" run individual tests. there way automate that?

it feels standard behaviour ides show errors , allow quick re-playing, wonder if has figured out how on command line.

guard you're looking for:

https://github.com/guard/guard 

guard watches filesystem changes , automatically triggers command. guard can automatically run tests second they're saved.

for minitest use:

https://github.com/guard/guard-minitest 

for test unit:

https://github.com/guard/guard-test 

for rspec:

https://github.com/guard/guard-rspec 

Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -