[rspec-users] having autospec run tests?

Stephen Eley sfeley at gmail.com
Wed Jun 3 13:28:28 EDT 2009


On Wed, Jun 3, 2009 at 1:01 PM, Joe Van Dyk <joe at pinkpucker.net> wrote:
>
> I really like how:
> AUTOFEATURE=true autospec
> works on my projects that use rspec and cucumber.
>
> Can I get that same behavior, but with my tests in the tests directory?

Sure.  In fact it should work just fine out of the box: do the same
thing, but with 'autotest' instead of 'autospec'.  (The check for that
environment variable isn't in the autospec script, it's in the
discovery file that Cucumber sets up.)


-- 
Have Fun,
   Steve Eley (sfeley at gmail.com)
   ESCAPE POD - The Science Fiction Podcast Magazine
   http://www.escapepod.org


More information about the rspec-users mailing list