I’m trying to use autotest in conjunction with RSpec 2. Almost
seems to work… with one exception.
If I change any specs, autotest does the expected focused spec on my
Great! But if I change the implementation, nada.
It seems like the default mapping that autotest expects between spec
and implementation files is:
spec/foo_spec.rb => lib/foo.rb
spec/bar_spec.rb => lib/bar.rb
However, I’m following the POLS Ruby gem directory structure, which is:
spec/foo_spec => lib/mygem/foo.rb
spec/bar_spec => lib/mygem/bar.rb
How do I get autotest to work with this sort of directory structure and
And before anyone suggests autospec, it’s deprecated as of rspec2. If
attempt to run the autospec that’s installed with rspec2, it tells you
autospec is deprecated and instructs you to install autotest.