3.1 Configuration for BDD framework with Maven (Update)

You need to follow these steps to configure and execute a running automation:

  1. Go to JIRA, select qTest Scenario > User Setting from Menu bar.
  2. Click Generate API Key to create a new API Key.
  3. Select Build tool as Maven, then copy the generated script. New update: In qTest Scenario version 1.0, we have just added a new tag (<qtest_release><!-- Put qtest release id here (for example: RL-1) --></qtest_release>) to allow user to specify the Release for execution.
  4. Go to Eclipse and open your Maven project.
  5. Open the POM file and enter the following information:
    • Paste the script copied in step 2 into the POM file.
    • Note: the script generated from JIRA doesn't contain the destinationDir, JIRA jql and JIRA Feature ID; you need manually enter these values. 
      • destinationDir: the folder to execute the test.
      • JIRA jql: the jql to filter the Feature tickets in JIRA.
      • JIRA Feature ID: the ID of Feature ticket in JIRA. System will combine the results of JIRA jql and JIRA Feaure ID list to get all appropriate Features to run.
  6. Open the java file to configure certain execution options and check if the features option within @CucumberOptions is pointing to the feature folder to execute the test.

IMPORTANT: This is the same folder as you config at step 5 in <DestinationDir>.

e.g: