dgarlitt / karma-nyan-reporter

Nyan Cat style reporter based on the Mocha version
MIT License
169 stars 19 forks source link

Show total test count #11

Closed kentcdodds closed 9 years ago

kentcdodds commented 9 years ago

It would be nice if the numbers on the left showed how many total tests there are so I get some idea of the progress of the test suite. Any way we could include this?

dgarlitt commented 9 years ago

I started to mark this as an enhancement, however I'm pretty sure that karma doesn't provide a count of the tests prior to running. Therefore the reporter would have no way of knowing how many tests are in the suite. Hopefully my suspicions will be proven wrong, but I am a little bit pessimistic at this point. I'll look into it further and post some feedback.

kentcdodds commented 9 years ago

Thanks for looking into it! The progress reporter does it, but it's built-in and may be using internal apis I suppose...

dgarlitt commented 9 years ago

Thanks, that helped a bunch. I see where it is getting the number from, so it appears to be doable. I will see about including this in an upcoming release.

dgarlitt commented 9 years ago

This feature was added in release 0.1.00 and is available now via npm.

kentcdodds commented 9 years ago

Awesome! Works great! Thank you!