[rspec-users] A recently observed anti pattern: commented out tests
dchelimsky at gmail.com
Thu Jul 26 20:09:41 UTC 2012
On Thu, Jul 26, 2012 at 4:06 PM, James Cox <james at imaj.es> wrote:
>> > 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"
> 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. :)
Cool. Please report back if you learn anything interesting.
More information about the rspec-users