Created
April 27, 2019 00:25
-
-
Save ksurendra/5154d7ddd177f60c809c3f8746dd2613 to your computer and use it in GitHub Desktop.
Adding tasks to run cucumber tests from pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.6.0</version> | |
<executions> | |
<execution> | |
<id>integration-test</id> | |
<phase>verify</phase> | |
<goals> | |
<goal>exec</goal> | |
</goals> | |
<configuration> | |
<skip>${skipTests}</skip> | |
<executable>node</executable> | |
<arguments> | |
<argument>--no-warnings</argument> | |
<argument>${npm.binDirectory}/take-home-integration-test</argument> | |
<argument>features</argument> | |
<argument>--check-new</argument> | |
<argument>--command</argument> | |
<argument>java -jar ${project.build.directory}/${project.build.finalName}.jar</argument> | |
<argument>--port</argument> | |
<argument>${takeHomeTester.port}</argument> | |
<argument>--out-file</argument> | |
<argument>${takeHomeTester.logFile}</argument> | |
<argument>--</argument> | |
<argument>--tags</argument> | |
<argument>not @skip</argument> | |
</arguments> | |
</configuration> | |
</execution> | |
</executions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment