This project aims to run CasperJS tests in a Maven build.
Available on Maven central. Add in your pom.xml:
<plugin>
<groupId>com.github.casperjs</groupId>
<artifactId>casperjs-runner-maven-plugin</artifactId>
<version>1.0.5</version>
<configuration></configuration>
</plugin>
This plugin has been tested on these environments :
- Linux, PhantomJS v 1.8.2 and CasperJS v 1.0.4
- Linux, PhantomJS v 1.9.8 and CasperJS v 1.1.3
- Windows, PhantomJS v 1.8.2 and CasperJS v 1.0.4
- Windows, PhantomJS v 1.9.8 and CasperJS v 1.1.3
See the plugin site
See the integration tests
Download the sources, and build the plugin using the mvn clean install
command. You can build this plugin using Maven 2.2.x or Maven 3.x, and a JDK 1.6.
If you encounter issues or think about any kind of enhancements, you can add them in the adequate section of the project. Do not hesitate also to make Push Requests if you want to enhance this project.