Testrunner should not show 'success' if no specs have been executed #297

Closed
dwt opened this Issue Nov 15, 2012 · 3 comments

Comments

Projects
None yet
4 participants
@dwt

dwt commented Nov 15, 2012

This fools me annoyingly often when I filter down to one specific spec and then happen to change it's name to make it more descriptive.

And then suddenly my testsuite running in the background tells me that its green - o happiness.

Just to discover a millisecond later that I've fallen victim to this trap again. :-(

But more generall: executing no specs should not be seen as a success. It only verifies that the spec runnier is loaded correctly - not that the specs are found / configured, not that they compile/ interpret cleanly, not that your filter matches anything....

I think the sensible thing to do would be to show a first time message (yeah your testuite loads, thats great, now go add tests and this link descirbes how to do that).

Even better would be to not show this as green, but as kind of a failure in itself (here's hope you do that, but....)

@wyuenho

This comment has been minimized.

Show comment Hide comment
@wyuenho

wyuenho Mar 24, 2013

+1 for this

wyuenho commented Mar 24, 2013

+1 for this

@infews

This comment has been minimized.

Show comment Hide comment
@infews

infews May 27, 2013

Contributor

I've added this issue to this other Tracker story in our backlog.

No specs being executed in a filter of any kind - no filter, focused specs, etc. - should be reported the same.

Contributor

infews commented May 27, 2013

I've added this issue to this other Tracker story in our backlog.

No specs being executed in a filter of any kind - no filter, focused specs, etc. - should be reported the same.

@slackersoft

This comment has been minimized.

Show comment Hide comment
@slackersoft

slackersoft Oct 2, 2013

Member

We'll be looking at this after 2.0 is released. This does seem quite useful.

Member

slackersoft commented Oct 2, 2013

We'll be looking at this after 2.0 is released. This does seem quite useful.

@slackersoft slackersoft closed this Oct 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment