4 ms·
I don't know if it's gotten more sophisticated recently, but the last time I played with autotest it had a very naive concept of "relevant tests". Certainly no
by kscaldef 16y ago
I don't know if it's gotten more sophisticated recently, but the last time I played with autotest it had a very naive concept of "relevant tests". Certainly not the sort of runtime analysis the parent describes.
(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.)
- xentronium 16y agoAutotest 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.