>
> > so yes, pending is ok, but a second keyword "broken" might be nicer,
> > which would act the same but output different info.
>
> You can actually do that!
>
> RSpec.configuration do |c|
>   c.alias_example_to :broken, :pending => "Broken"
> end
>
> See
> http://rubydoc.info/gems/rspec-core/RSpec/Core/ExampleGroup.alias_example_to
> and
> https://github.com/rspec/rspec-core/blob/master/lib/rspec/core/example_group.rb#L69-104
>
>
David, i'm going to give that a go - see how it shakes out in real-world
use. It might work to visually make it distinguishable enough to process.
:) thanks.

-james
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to