[IPython-dev] IPython's Javascript Test framework

David Wolever david at wolever.net
Wed Jul 24 13:23:27 EDT 2013

On 2013-07-24, at 9:49 AM, TARUN GABA <tarun.gaba7 at gmail.com> wrote:

> Also could anyone suggest some good headless(without browser) Javascript testing frameworks.

This StackOverflow question does a good job of covering the popular tools: http://stackoverflow.com/q/300855/71522

Basically, the three levels you need to consider are:
- Do you need full DOM interaction in different browsers? If so, you need Selenium (and you can use SauceLabs to run your tests across every browser ever)
- Do you need some DOM interaction in a more or less browser-agnostic way? Then you need PhantomJS.
- Are you just testing pure JavaScript? In that case, go for QUnit + Node. You could follow the example of one of my libraries, here: https://github.com/wolever/remora/tree/master/test
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130724/29654b48/attachment.html>

More information about the IPython-dev mailing list