Re:The road to faster tests
by xentronium on Wednesday January 19, 2011 @02:42PM
(#2120959)
Autotest depends on the rules you use.
Find autotest/discovery.rb for your project to see something like:
Autotest.add_discovery { "Rspec2" }
Autotest.add_discovery { "Rails" }
# both of the frameworks have their predefined rulesets
No one prevents you from adding your own discovery rules.Also you're looking for autotest-fsevent if you're using a mac. Probably something similar exists for linux.
(Also, on our moderately large codebase it noticeably impaired the performance of my whole machine because of the way it constantly scanned the entire directory tree. I know there was some talk of adding edge triggering via kqueue or fsevents, but no one had done it at that time.)