Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.
Mike Andrasak edited this page Aug 15, 2018 · 17 revisions

Running integration tests

They can take minutes to run, so are disabled by default.

Basic execution

mvn install -Pit

To skip the integration tests:

mvn install -Pit -Dinvoker.skip=true

To run only some integration tests (e.g. one module):

mvn install -Pit -Dinvoker.test=test20*

To run with a different version of the liberty-maven plugin add the following to the boost-maven plugin definition:

 <configuration>
  <libertyMavenPluginVersion>2.5.1-SNAPSHOT</libertyMavenPluginVersion>
 </configuration>

Eclipse

When importing the code into Eclipse, do it in two steps:

  1. Import the top-level project

Import -> Maven (Existing Maven Projects)

"Root Directory" => repo home (project.basedir)

  1. Import the parent of the individual integration test projects

Import -> Maven (Existing Maven Projects)

"Root Directory" => IT parent module home (project.basedir/src/it)

Clone this wiki locally