Skip to content

Instantly share code, notes, and snippets.

@vladimir-ivanov
Created June 16, 2013 11:46
Show Gist options
  • Save vladimir-ivanov/5791819 to your computer and use it in GitHub Desktop.
Save vladimir-ivanov/5791819 to your computer and use it in GitHub Desktop.
Maven 3 integration of testacular unit tests
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>node</executable>
<!-- optional -->
<arguments>
<argument>${testacular-home}</argument>
<argument>start</argument>
<argument>${basedir}/src/test/javascript/testacularConfig.js</argument>
</arguments>
</configuration>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment