Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A custom Mocha reporter could be helpful #1378

Closed
Mithgol opened this issue Dec 8, 2013 · 3 comments
Closed

A custom Mocha reporter could be helpful #1378

Mithgol opened this issue Dec 8, 2013 · 3 comments

Comments

@Mithgol
Copy link
Contributor

Mithgol commented Dec 8, 2013

Mocha cannot (for the reasons I described in mochajs/mocha#960) run tests in the node-webkit's environment with any of its own reporters unless a complex enough workaround is used. (Node-webkit's /tests/index.html is an example of such workaround.)

Writing a node-webkit-oriented reporter for Mocha could make testing more comfortable, eliminating a need for such workarounds.

I do not, however, have time to write such a reporter myself, and thus I am opening an issue to inform the community.

@tivac
Copy link

tivac commented Dec 13, 2013

I've started doing some work that could help with this, https://github.com/tivac/falco/blob/tests/test/reporter.js

Still very rough around the edges, but thanks to @BenoitZugmeyer's comments in that mocha thread I was able to make some headway. I'm not good enough at node-webkit yet to know what implications this setup will have for my plans to test code in the browser context yet, I may have fucked it all up. 😟

@simov
Copy link

simov commented Jun 21, 2014

Check out my pull request about WebKit reporter in mocha

@tommoor
Copy link

tommoor commented Dec 18, 2014

Closing due to inactivity, we're clearing up issues

@tommoor tommoor closed this as completed Dec 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants