Integration Tests - quality-manager/onboarding GitHub Wiki

Integration Tests

Note: See 8091: RQM Integration Test : Junit Test >> Test Case Design for more detailed information.

Launch configuration files are named Integration Test (<component>).launch where <component> is:

  • Execution
  • Planning
  • Diff
  • Lab Management Automation
  • Adapter Scenario

These tests launch a server, so the ETM development server should NOT be running before launch.

Note: Run these tests against a new/clean repository for the ETM development server.  That is, regenerate your repository workspace before running each of these launch configurations.

Required variables

These variables must be defined in the Eclipse String Substitution preferences or defined in the launch configuration files:

  • webapp_url: The repository URL
  • repo_loc: The Derby DB location
  • log4j_config_loc: Location of log4j.properties relative to workspace

Selecting test classes and packages to run

Two properties are available in the launch configuration files to select the test classes and packages to run:

  • junit.test.classes: Comma separated list of class names
  • junit.test.packages: Comma separated list of package names

If these properties are empty (default value), all test classes and packages are run.