Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Testrunner should not show 'success' if no specs have been executed #297
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....)