[rspec-users] having autospec run tests?
Joe Van Dyk
joe at fixieconsulting.com
Wed Jun 3 14:30:56 EDT 2009
autotest doesn't seem to work for me, for some reason:
that file doesn't get loaded when autospec runs.
`remove_method': method `run' not defined in Test::Unit::TestCase
... 11 levels...
from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
On Wed, Jun 3, 2009 at 10:28 AM, Stephen Eley <sfeley at gmail.com> wrote:
> 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
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users