[rspec-users] using YAML for --failures and --examples

Scott Taylor mailing_lists at railsnewbie.com
Tue Apr 10 16:56:17 EDT 2007


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 following:

spec_file_1:
   file: spec/person_spec.rb
   specs:
     - should have first name
     - should provide email address

spec_file_2:
   file: spec/client_spec.rb
   specs:
     - should have meeting on monday
     - should drink on friday


Any thoughts?

Scott





More information about the rspec-users mailing list