[rspec-users] using YAML for --failures and --examples
mailing_lists at railsnewbie.com
Wed Apr 11 10:38:20 EDT 2007
On Apr 10, 2007, at 5:12 PM, David Chelimsky wrote:
> On 4/10/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
>> As it is currently, in trunk, --failures and --examples except a text
>> file, each line containing the name of a spec.
>> I'm wondering: Would a a patch to use YAML (instead or as well as)
>> plain text be welcomed? I'm thinking of a yaml file like the
>> file: spec/person_spec.rb
>> - should have first name
>> - should provide email address
>> file: spec/client_spec.rb
>> - should have meeting on monday
>> - should drink on friday
>> Any thoughts?
> What benefit would this provide?
It would only provide a benefit in a large spec suite, and as long as
each spec file contains more than one describe/context block.
More information about the rspec-users