Show number of pending tests #340

Closed
joewhite opened this Issue Mar 22, 2012 · 2 comments

Comments

Projects
None yet
3 participants

In the summary at the end of a successful test run, Mocha tells me how many tests there were. If some of those tests were pending tests (i.e., no callback passed to it()), there's nothing to distinguish between passing tests and tests that I haven't finished writing yet. If I sketched out a bunch of pending tests and haven't filled them all in yet, it would be easy for me to forget about them (especially since the light blue dot in the default runner is hard to distinguish from the gray dots, at least on Windows).

It would be helpful if the end-of-test-run summary mentioned how many pending tests there were. Maybe something like "6 tests complete (2 ignored) (57ms)", or maybe a separate line showing the number of ignored/pending tests.

Contributor

adomokos commented Apr 10, 2012

I sent this pull request for it: visionmedia#370

Contributor

adomokos commented Apr 11, 2012

This issue can be closed with pull request 370.

@tj tj closed this Apr 11, 2012

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