So this is how my pom looks
<plugin>
<groupId>com.github.klieber</groupId>
<artifactId>phantomjs-maven-plugin</artifactId>
<version>0.4</version>
<executions>
<execution>
<goals>
<goal>install</goal>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<version>1.9.7</version>
<checkSystemPath>false</checkSystemPath>
<script>${project.basedir}/src/main/webapp/resources/testing/run-qunit.js</script>
<arguments>
<argument>${project.basedir}/src/main/webapp/resources/testing/test.html</argument>
</arguments>
</configuration>
</plugin>
For the run-qunit.js am using the code from http://ift.tt/1ArfBsw
My HTML page has all the JS included in it plus the qunit tests. For some reason its not working fine. Any help is greatly appreciated.
Aucun commentaire:
Enregistrer un commentaire