How do I get autotest to work with this sort of directory structure and
rspec2?
And before anyone suggests autospec, it’s deprecated as of rspec2. If
you
attempt to run the autospec that’s installed with rspec2, it tells you
autospec is deprecated and instructs you to install autotest.
On Thu, Mar 31, 2011 at 01:24:53PM +0900, Tony A. wrote:
spec/bar_spec.rb => lib/bar.rb
attempt to run the autospec that’s installed with rspec2, it tells you
autospec is deprecated and instructs you to install autotest.
You can alter how autotest looks at the mappings between tests and files
with an :initialize hook. I’m using minitest/spec and needed to provide
some additional mapping information to autotest to get it to find the
right
file <-> spec mapping.