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

Run QUnit within HTML pages #1752

Closed
ernsheong opened this issue Dec 9, 2015 · 2 comments
Closed

Run QUnit within HTML pages #1752

ernsheong opened this issue Dec 9, 2015 · 2 comments

Comments

@ernsheong
Copy link
Contributor

Hi all,

In my project we have a lot of QUnits run in various HTML pages as described at the top of https://qunitjs.com/cookbook/

Would it be possible to configure Karma to be able to run these HTML pages, instead of running the JS file directly? I've looked at karma-html2js-preprocessor, but it doesn't look like a solution.

grunt-contrib-qunit project allows this to be done via PhantomJS, but the integration with RequireJS is problematic and unreliable using PhantomJS (and hard to debug). Karma seems the most promising as tests can be run in Chrome/IE, etc.

Thanks in advance,
Jonathan

@ernsheong ernsheong changed the title Run many tests within HTML pages Run QUnit within HTML pages Dec 9, 2015
@dignifiedquire
Copy link
Member

I'm afraid it's not really possible at the moment, but there is a PR to allow a custom html page for setups like this here: #1360

@ernsheong
Copy link
Contributor Author

ernsheong commented Dec 11, 2015

Thanks for the reply 👍

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

2 participants