Skip to content

Commit

Permalink
Prevent ITs from being executed by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fcojfernandez committed Nov 6, 2019
1 parent 7029191 commit 83447f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ mvn test
```

##### Integration Tests
* By default, the integration tests are not executed. In case you are interested in executing
them, disable the `skipITs` property.
* The following environment variables are required to run the integration tests. 5, 6, and 7 are
only required when running a windows integration test.

Expand All @@ -74,7 +76,7 @@ mvn test

* Run the following:
```
mvn verify
mvn verify -DskipITs=false
```

###### Windows Integration Test
Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<skip.surefire.tests>${skipTests}</skip.surefire.tests>
<skipITs>true</skipITs>
<it.windows>false</it.windows>
<configuration-as-code.version>1.14</configuration-as-code.version>
<powershell.version>1.3</powershell.version>
Expand Down Expand Up @@ -293,6 +294,7 @@
</execution>
</executions>
<configuration>
<skipITs>${skipITs}</skipITs>
<disableXmlReport>true</disableXmlReport>
<useFile>false</useFile>
<systemPropertyVariables>
Expand Down

0 comments on commit 83447f9

Please sign in to comment.