Thursday, November 15, 2012

JavaScript testing


http://pivotal.github.com/jasmine is a behavior driven testing frameworks that can be integrated in eclipse (jasmine-junit-testrunner).

Using http://phantomjs.org/ (Headless webkit based browser) and maven-exec-plugin you can run your tests from maven and thus from Jenkins.

At the end you get a normal surefire report so that Jenkins shows the correct status....

Note that Browsers quirks can only be tested with selenium....

No comments:

Post a Comment