Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why write your tests in something else than JavaScript when it's a JavaScript app? We already wrote a lot of unit tests in JavaScript, and our integration tests grew gradually from them, so we didn't feel we needed to add another layer of abstraction on top of regular JS.


You can write your browser automation tests in JavaScript. See WebDriverJS, Jelly, or PhantomJS.

* http://code.google.com/p/selenium/wiki/WebDriverJs

* http://jelly.io

* http://phantomjs.org/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: