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

Add browser testing to CI #1732

Closed
ndhoule opened this issue Jun 7, 2015 · 4 comments
Closed

Add browser testing to CI #1732

ndhoule opened this issue Jun 7, 2015 · 4 comments

Comments

@ndhoule
Copy link
Contributor

ndhoule commented Jun 7, 2015

This probably involves some test refactoring work, but moving to Browserify means it's easy to add a Node shim without really thinking about it, and some of Browserify's shims rely on an ES5 environment. Would be easy to break IE6 without noticing.

@boneskull
Copy link
Contributor

I'm more than ready to drop IE6 support

@boneskull boneskull added High priority status: accepting prs Mocha can use your help with this one! labels Jun 10, 2015
@boneskull
Copy link
Contributor

@mochajs/mocha We need automated tests for Mocha which run in the browser.

Anyone have any opinions on the best way to get this done?

When I need to run client-side tests, I reach for Karma. If I need to debug something, I tell it to use a real browser, but otherwise I run headlessly with PhantomJS.

If there are any services out there that would automate the tests against real browsers for free, I'd like to know about them.

@ndhoule
Copy link
Contributor Author

ndhoule commented Jun 10, 2015

I generally go for Sauce Labs to run cross-browser tests. Free for OSS projects.

Karma's fine for most cases but its Sauce runner has a long-standing concurrency issue that has made it difficult for me to run tests against multiple browsers in the past. Might be able to get around this by only running one browser at a time through Karma. I prefer Zuul these days; some annoying edges but it doesn't involve the same level of configuration Karma does and works OOTB with Browserify.

@dasilvacontin
Copy link
Contributor

Dupe of #2079.

@boneskull boneskull removed the status: accepting prs Mocha can use your help with this one! label Oct 10, 2016
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

3 participants