[rspec-users] Problems running RSpec 2 with autotest/autospec

David Chelimsky dchelimsky at gmail.com
Thu Dec 9 08:30:26 EST 2010


On Thu, Dec 9, 2010 at 7:08 AM, Michelle Pace <lists at ruby-forum.com> wrote:
> David Chelimsky wrote in post #967405:
>> # autotest-4.4.6 (with ZenTest-4.4.1)
>> autotest --style rspec2
>
> Sorry David, truth be told I'm a ruby newbie working my way
> through the new book "Continuous Testing with Ruby" so I'm a bit in the
> dark here.
>
> For what you mention above, where do I put these settings since
> obviously not in discover.rb?

These are commands you'd run from the command line. If you use the
--style option, you don't need to worry about having
./autotest/discover.rb:

$ autotest --style rspec2

This works with any of autotest-4.4.5, 4.4.6, and autotest-standalone-4.5.1.

If you want to use ./autotest/discover.rb to tell autotest to use
rspec instead of typing it on the command line, that only works with
autotest-4.4.5 and autotest-standalone-4.5.1 (if you're using
ruby-1.9, that is - if you're using ruby 1.8, it works with all three
versions):

$ autotest

HTH,
David

>
> Thanks in advance, Michelle
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list