<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 2013-07-24, at 9:49 AM, TARUN GABA <<a href="mailto:tarun.gaba7@gmail.com">tarun.gaba7@gmail.com</a>> wrote:</div><br><blockquote type="cite"><div>Also could anyone suggest some good headless(without browser) Javascript testing frameworks.</div>
</blockquote><br></div><div>This StackOverflow question does a good job of covering the popular tools: <a href="http://stackoverflow.com/q/300855/71522">http://stackoverflow.com/q/300855/71522</a></div><div><br></div><div>Basically, the three levels you need to consider are:</div><div>- 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)</div><div>- Do you need some DOM interaction in a more or less browser-agnostic way? Then you need PhantomJS.</div><div>- Are you just testing pure JavaScript? In that case, go for QUnit + Node. You could follow the example of one of my libraries, here: <a href="https://github.com/wolever/remora/tree/master/test">https://github.com/wolever/remora/tree/master/test</a></div></body></html>