~tag info message #347

Closed
andyl opened this Issue Apr 13, 2011 · 7 comments

3 participants

@andyl

When I run rspec using '--tag mytag', it gives a nice info message:
Run filtered using {:mytag => true}

But when I run rspec using '--tag ~mytag', i don't see that handy message.

Suggestions:
1) When using '--tag ~mytag', show an info message like:
Run filtered excluding {:mytag => true}
2) When using '--tag label1 --tag ~label2', show an info message like:
Run filtered using {:label1 => true}, excluding {:label2 => true}

(Platform: Ubuntu 10.10, Rspec 2.5.1)

@patmaddox
@andyl

Yes - that format would be great !

@justinko

What about {:label1 => true, :label2 => false}

That unfortunately wouldn't work with tag values that are not true/false (--tag dog:bark ~cat:meow). I like Run filtered using {:dog => 'bark'}, excluding {:cat => 'meow'}

@justinko justinko was assigned Apr 13, 2011
@patmaddox
@andyl

For me the 'using / excluding' format would be more readable. I don't think its important to have a single hash.

But either format would be an improvement !

Andy

@patmaddox
@patmaddox patmaddox was assigned Apr 13, 2011
@justinko

@patmaddox - okay, I just assigned it to you (from me). Have fun!

@patmaddox patmaddox closed this in 3623784 Apr 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment