mocha-parallel / mocha-parallel-tests

Parallel test runner for mocha tests. Looking for maintainer.
MIT License
200 stars 45 forks source link

Get report events in realtime #226

Open watson28 opened 5 years ago

watson28 commented 5 years ago

Hi guys,

I just noticed the Mocha reporter events (test, test end, hook, hook end, ..etc) are not been triggered until each test file finish its execution ( or when the end event is triggered).

I'm having kind of a problem with this behavior since I'm needing to log these mocha reporter events in a file for future debugging. This is because sometimes the execution of the tests exceed a time limit and we end up killing the process. And I need to know how far it got (last test, hook or suite executed).

Any solution or workaround for this situation?

1999 commented 5 years ago

I think this is something which can be improved, there's no design limitation to fix it.

danlomantoSamsungNext commented 5 years ago

Is it possible to get this on the roadmap anytime soon by any chance? I'm also experiencing this same behavior.