stanleyhlng / mocha-multi-reporters

Generate multiple mocha reports in a single mocha execution.
MIT License
74 stars 22 forks source link

Support done methods #36

Closed chris-goodchild closed 7 years ago

chris-goodchild commented 7 years ago

Addresses issue #34

In order to ensure certain reporters produce their desired output (for example, Mochawesome's HTML report), a #done method should be provided which Mocha will call once the test suite has completed.

Given that we're supporting multiple reporters here, we also need to ensure the invocation of the #done method is applied to each registered reporter.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+4.2%) to 93.243% when pulling 69bf99dab2bab2e08befebe740a2a6279c4eed4f on chris-goodchild:support-done-methods into f5ea0291370f84759b2abcf5a0af82a721d9a52f on stanleyhlng:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+6.03%) to 95.05% when pulling 51c7e93c626c6d6ccab2d6ae1ecf00a14632ade3 on chris-goodchild:support-done-methods into f5ea0291370f84759b2abcf5a0af82a721d9a52f on stanleyhlng:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+4.7%) to 93.75% when pulling 51c7e93c626c6d6ccab2d6ae1ecf00a14632ade3 on chris-goodchild:support-done-methods into f5ea0291370f84759b2abcf5a0af82a721d9a52f on stanleyhlng:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+4.7%) to 93.75% when pulling 51c7e93c626c6d6ccab2d6ae1ecf00a14632ade3 on chris-goodchild:support-done-methods into f5ea0291370f84759b2abcf5a0af82a721d9a52f on stanleyhlng:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+4.7%) to 93.75% when pulling 51c7e93c626c6d6ccab2d6ae1ecf00a14632ade3 on chris-goodchild:support-done-methods into f5ea0291370f84759b2abcf5a0af82a721d9a52f on stanleyhlng:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+5.0%) to 93.976% when pulling ad8e60fddb73c75894e3f71e24fcdf280c4dd7ad on chris-goodchild:support-done-methods into f5ea0291370f84759b2abcf5a0af82a721d9a52f on stanleyhlng:master.

bahmutov commented 7 years ago

will this be merged?

stanleyhlng commented 7 years ago

Sure, I will review it, test it before merging. Stay tuned.

stanleyhlng commented 7 years ago

published https://github.com/stanleyhlng/mocha-multi-reporters/releases/tag/v1.1.5