T
Tony Arcieri
[Note: parts of this message were removed to make it a legal post.]
I'm trying to use autotest in conjunction with RSpec 2. Almost everything
seems to work... with one exception.
If I change any specs, autotest does the expected focused spec on my code!
Great! But if I change the implementation, nada.
It seems like the default mapping that autotest expects between spec files
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
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.
I'm trying to use autotest in conjunction with RSpec 2. Almost everything
seems to work... with one exception.
If I change any specs, autotest does the expected focused spec on my code!
Great! But if I change the implementation, nada.
It seems like the default mapping that autotest expects between spec files
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
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.