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

Output results to console #576

Closed
leobalter opened this issue May 16, 2014 · 5 comments
Closed

Output results to console #576

leobalter opened this issue May 16, 2014 · 5 comments
Labels

Comments

@leobalter
Copy link
Member

I would like to make an implementation of outputting the test results to the console when it's present in the global scope.

That would make QUnit more connected to Node environments and also to many browsers without removing the HTML output we currently have (that can still be omitted by not having a div#qunit).

It would also be great having this made after #531 with the standardized reporter interface.

@jzaefferer
Copy link
Member

Would be nice to have a prototype for this.

@leobalter
Copy link
Member Author

Now, with the detached reporter interface from #603 we can include a simple console output (maybe using TAP specs) when console is present and html is absent.

One advantage is getting rid of that test-on-node grunt task.

That would also fix most of the addressed issues on #521 and #540.

And for that I'm wondering if it's possible to make a variant build of QUnit without the jsDiff and the html reporter.

@jzaefferer
Copy link
Member

@leobalter since you closed #627, will you look into this again as a separate module?

@leobalter
Copy link
Member Author

After #627, I believe this is better if used in a separate module and probably as an extension of js-reporter. node-qunit is already doing a good job and I now suggest to reopen this only if we agree in some point to drop the html reporter to use the console as the main one, probably a 3.0 feature.

@jzaefferer
Copy link
Member

We could add a section about node-qunit in qunitjs/qunitjs.com#85, maybe contribute some improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

4 participants