Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Phase

Goal

Description

generate-resources

com.xored.q7:q7-maven-plugin:resources

  1. Copies project to target/projects/artifactId
  2. Resolves all dependencies of type q7test and unpacks them to target/projects/
  3. Unpacks AUT to target/aut
  4. Unpacks Q7 runner to target/q7/
  5. Creates target/results/ directory

compile

com.xored.q7:q7-maven-plugin:execute

  1. Launches Q7 runner.
    • Q7 workspace is set to $target/projects/
    • AUT workspace prefix is $target/autWorkspace
  2. Converts q7 report to surefire report and puts it to target/surefire-reports/

package

com.xored.q7:q7-maven-plugin:package

Packages Q7 project and execution results as artifacts (see below)

install

maven-install-plugin:install

default

deploy

maven-deploy-plugin:deploy

default

...

Code Block
<q7>
  <!-- version of Q7 Runner -->
  <version>1.3.3</version>

  <!-- account or organization name from q7.xored.com -->
  <clientId>user</clientId>

  <!-- secret can be retrieved in profile at http://q7.xored.com/settings/balance -->
  <clientSecret>05de7461c607c33229772d402505601016a7d0ea</clientSecret>

  <!-- Q7 license server address -->
  <licenseUrl>localQ7LicenseServer:8080</licenseUrl>

</q7>

Q7 Runner VM Arguments

...

Use q7/vmArgs to specify extra arguments for Q7 Runner. For instance, to configure proxy settings, the following lines can be added:

...

By default, Q7 Maven plugin just resolve artifact with groupId = com.xored.q7 and artifactId = q7runner and takes the latest version it can find. However, in some rare cases it might be necessary to override this information. It is possibly by specifying q7 element under plugin configuration. The contents of this element are the same as for specifying AUT.

Test suites

By default Q7 Maven plugin launches all tests in given projects (and extra projects) besides tests having tags from tags to skip list. In order to run only test cases belonging to test suite(s), the following lines can be added (suite name must match to a name of existing test suite inside a project):

...