total should adjust for --grep #124

Closed
tj opened this Issue Dec 9, 2011 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

tj commented Dec 9, 2011

No description provided.

Contributor

brendannee commented Apr 9, 2012

It looks like this might already be fixed in 1.0.1. I testing on websocket.io's test and the total (3 instead of 17) was displayed correctly.

$ mocha --grep fire -R spec

  websocket server
    connections
    ✓ must fire a connection event 
    ✓ must fire a close event when client closes 
    ✓ must fire a close event when server closes 
  messages
  request path
  client tracking

websocket.io


✔ 3 tests complete (41ms)

antoviaque added a commit to antoviaque/mocha that referenced this issue Apr 10, 2012

Fixes #124 and fixes #166 - Changes the name of the suite.iterateTests()
function to suite.eachTest(), and replaces forEach by util.forEach()
for browser compatibility.

tj added a commit that referenced this issue Apr 10, 2012

Merge pull request #368 from antoviaque/issue124
Fixes issues #124 and #166 - Proper display of suites/tests count when using --grep

brendannee pushed a commit to brendannee/mocha that referenced this issue Apr 10, 2012

Fixes #124 and fixes #166 - Changes the name of the suite.iterateTest…
…s() function to suite.eachTest(), and replaces forEach by util.forEach() for browser compatibility.
Contributor

brendannee commented Apr 13, 2012

This issue should probably be closed.

@tj tj closed this Apr 13, 2012

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