[rspec-users] Spec'ing via features
Ben Mabey
ben at benmabey.com
Tue Nov 25 17:04:19 EST 2008
James Byrne wrote:
> Ben Mabey wrote:
>
>
>> The previous gem releases of cucumber required the rspec gem but as of a
>> few commits ago that dependency is only there for developing cucumber.
>>
>> -Ben
>>
>
> I see. So, if I understand correctly, rspec is the "default" testing
> framework? But, if one wished to incorporate minitest say, then one
> would extend the cucumber world (a concept that I have only the vaguest
> conception of) in a manner similar to this?
>
> require 'minitest/unit/assertions'
> World do |o|
> o.extend(MiniTest::Unit::Assertions)
> o
> end
>
>
Right. Although, I'm unsure if rspec is even the default framework
outside of the rails generators.
-Ben
More information about the rspec-users
mailing list