Including Rails engine tests with autotest -


just wondered if knew of great way include rails engine tests autotest? when run autotest, have of app tests run first, have tests run in engine. noticed gist after googling: autotest engines seems kind of lot have go through - wondered if there simpler totally missing.

wait, works don't want use it?

if you're worried having clog .autotest name else:

save vendor/autotest/autotest_engines.rb

then within .autotest:

require 'vendor/autotest/autotest_engines'


p.s. it's not big compared autotest/rails gem, , you're requiring too: https://github.com/grosser/autotest-rails/blob/master/lib/autotest/rails.rb


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -