Dreamscapes / atom-ide-mocha

Integrate Mocha progress into Atom-IDE-UI ☕️ + ⚛️ = 🚀
https://atom.io/packages/ide-mocha
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Forward `stdout` & `stderr` to Atom #8

Open robertrossmann opened 5 years ago

robertrossmann commented 5 years ago

Is your feature request related to a problem? Please describe.

Sometimes the test suite produces logs relevant to test failures via custom logs, either to stdout or stderr streams. These streams are not captured by Mocha and are instead shown in the parent terminal window. This makes debugging harder to follow since the user must remember to look into that window to see the additional logs. This package somewhat sets the expectations that everything that's produced during test suite execution will be shown in Atom's Console UI.

Describe the solution you'd like

We might be able to capture the output streams when Mocha runs and send them over to Atom as custom events.

robertrossmann commented 5 years ago

This might be harder than initially thought: https://github.com/nodejs/node/issues/8033