Closed sampierson closed 11 years ago
can you add a test ?
I could not see any tests for --style. Please point me at them.
On Nov 13, 2012, at 9:04 PM, Michael Grosser wrote:
can you add a test ?
— Reply to this email directly or view it on GitHub.
Testing the --style option alone would be pretty useless as the real work is done in Autotest.runner. I added Mocha so I could test that too. -Sam.
On Nov 14, 2012, at 7:38 AM, Michael Grosser wrote:
I'd say here looks good
— Reply to this email directly or view it on GitHub.
Nice :)
4.5.11
Hello, I found the time to stop monkey patching this and fix it in a repo:
I couldn't figure out a way to get autotest-standalone working with Rails & RSpec2, as there was no way via the -command line -style option to setup the array %w{rails rspec2} necessary to get both the require and the const_get working. If you used "rspec_rails2" the require would work, but the contst_Get fails when it looks for Autotest::Rails_rspec2.
So, I split the --style option on spaces, and now everything works fine with --style "rails rspec2"
-Sam.