Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-170

Enhance plugin to be usable as integration test goal

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.0.Alpha6
    • Component/s: None
    • Labels:
      None

      Description

      E.g.
      <plugin>
      <groupId>org.wildfly.swarm</groupId>
      <artifactId>wildfly-swarm-plugin</artifactId>
      <version>${wildfly-swarm.version}</version>
      <configuration>
      <mainClass>de.m3y3r.cloud.App</mainClass>
      </configuration>
      <executions>
      <execution>
      <id>package</id>
      <goals>
      <goal>package</goal>
      </goals>
      </execution>
      <execution>
      <id>run</id>
      <phase>pre-integration-test</phase>
      <goals>
      <goal>run</goal>
      </goals>
      <configuration>
      <environmentFile>${project.build.testResources[0].directory}/integration-test.env</environmentFile>
      <waitForProcess>false</waitForProcess>
      </configuration>
      </execution>
      </executions>
      </plugin>

      So the goal "run" can be used as pre-integration test, and in the lifecycle intergration-test you can then use failsafe plugin to run your tests.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                thomasmey Thomas Meyer
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: