laurentj / slimerjs

A scriptable browser like PhantomJS, based on Firefox
http://slimerjs.org
Other
3k stars 259 forks source link

How to use SlimerJS with a test runner. #289

Closed justspamjustin closed 9 years ago

justspamjustin commented 9 years ago

On the homepage, it says,: "SlimerJS is useful to do functional tests"... However, I haven't found any way of using a test runner with SlimerJS besides through CasperJS. Is there any way to use something like mocha with Slimer? Overall, I'm trying to write a suite of functional tests using SlimerJS. What is the best approach?

laurentj commented 9 years ago

Since you can write what you want in the script you give to SlimerJS, you can do what you want. So no best approach. And I don't know if mocha can run with Slimerjs. If you find users who use mocha with phantomjs, probably it can work with SlimerJS.

Please ask questions in the mailing list. Issues is for technical issue.