Generate Tests from Requirements (Jira)


With Testsigma, you can create test cases directly from Jira stories and epics by integrating your Jira account. You just need to tag the relevant epics and stories, write a prompt, and click only once to generate multiple test cases. This article discusses generating test cases from requirements using Testsigma's GenAI capabilities.


Prerequisites

Before you begin, ensure that:

  1. You have enabled AI features from Settings > Preferences > Generative AI features.
  2. You have referred to the documentation on integrating Jira with Testsigma.
  3. You have referred to the documentation on creating test cases.

Generate Test Cases for Web Apps

  1. From the left navigation bar, go to Create Tests > Test Cases.
  2. Click Copilot, and then select Generate from Requirements from the dropdown menu.
  3. In Generate Test Cases from Requirements overlay,

    • Select a Jira Project from the dropdown menu.
    • Under Issue Type, select either Epic or Story:

      • If you select Epic, choose the stories for which you want to generate test cases.
      • If you select Story, choose all the stories for which you want to generate test cases.
  4. In the prompt field, enter the required details, and click the Play button.
  5. Wait for Testsigma to generate the test cases with the test steps.
  6. Select the test cases you want to save, and click Save Test Cases.
  7. You’ll be redirected to the Test Cases page, where the generated test cases appear under the AI Generated Feature Scenario.
NOTE:

To generate Salesforce test cases from requirements, click Settings in the prompt text box. By default, the Prefer API steps is selected. To generate UI-based test steps, clear the Prefer API steps option.

API Steps Checkbox


Generate Test Cases for Android & iOS Apps

  1. From the left navigation bar, go to Create Tests > Test Cases.
  2. Click Copilot, and then select Generate Test Cases from the dropdown menu.
  3. In the Generate Test Cases page, select Jira Requirements as input source.
  4. In the Add Jira Stories section,

    • Select a Jira Project from the dropdown menu.
    • Under Issue Type, select either Epic or Story:

      • If you select Epic, choose the stories for which you want to generate test cases.
      • If you select Story, choose all the stories for which you want to generate test cases.
  5. In the prompt field, enter the required details, and click the Play button.
  6. Wait for Testsigma to generate the test cases with the test steps.
  7. Select the test cases you want to save, and click Save Test Cases.
  8. You’ll be redirected to the Test Cases page, where the generated test cases appear under the AI Generated Feature / Scenario.

Interactive Demo for Android & iOS Apps