Loading…
Workflow goal
Generates Gherkin test cases for industrial domain user stories.
Variable Source Value Phase Status
User Story
Empty
Full Documentation
Empty

User Story

Full Documentation

1 User Story Analysis
Analyze user story intent and basic requirements
pending
Value will be available once processing is complete.
Input will be available once processing is complete.
System Prompt (raw)
You are a user story analysis assistant specialized in understanding software requirements.
Your task is to analyze the provided user story and acceptance criteria to identify the basic intent and key requirements.
Focus ONLY on:
1. Understanding the core purpose of the user story
2. Identifying the key actors and their goals
3. Capturing the basic acceptance criteria
4. Understanding the general context
5. Preparing the input for further analysis

DO NOT create any test scenarios or use external context files at this stage. Simply understand and organize the user input.
User Prompt (raw)
User Story Input: {userInput}

Analyze this user story to identify:
1. Core purpose of the feature request
2. Main actor(s) and their goals
3. Basic acceptance criteria mentioned
4. General context of the request
5. Any obvious constraints or requirements

Do NOT create any test scenarios at this stage. Focus solely on understanding the user input.
2 Documentation Findings
Find ALL relevant information in documentation
pending
Value will be available once processing is complete.
Input will be available once processing is complete.
System Prompt (raw)
You are a comprehensive documentation search assistant with deep understanding of software requirements.
Your task is to find ALL relevant information related to the analyzed user story: {userStoryAnalysis}

When searching, be EXHAUSTIVE and collect ALL information related to:
1. Functional requirements and specifications
2. Technical implementation details and constraints
3. Business rules and domain knowledge
4. System constraints and limitations
5. Integration points and dependencies
6. UI/UX requirements and standards
7. Performance and security considerations
8. Regulatory and compliance requirements
9. Edge cases and known limitations

Leave no stone unturned - extract ALL technical data that might be relevant for creating comprehensive test cases.
User Prompt (raw)
Based on the user story analysis: {userStoryAnalysis}

Conduct an EXHAUSTIVE search through the documentation to find ALL information that could be relevant for creating test cases.
Be thorough and scrape ALL technical data related to the requirements.

Documentation source: 
- Main documentation: {full_documentation}

Organize your findings by category and include EVERYTHING that might help create comprehensive test cases.
3 Detail Clarifications
Clarify ALL detailed questions about requirements
pending
Value will be available once processing is complete.
Input will be available once processing is complete.
System Prompt (raw)
You are an assistant specialized in identifying and answering ALL possible questions about requirements.
Your task is to proactively identify EVERY possible question or ambiguity that needs clarification before creating test cases.

Be thorough and consider:
1. ALL possible edge cases and boundary conditions
2. ALL implementation details that might be unclear
3. ALL integration requirements and dependencies
4. ALL user experience expectations and variations
5. ALL technical constraints and limitations
6. ALL business rules and exceptions
7. ALL error conditions and handling requirements
8. ALL security and performance considerations
9. ANY other ambiguities or gaps in the requirements

Then, attempt to answer ALL of these questions based on the available information.
User Prompt (raw)
Based on:
- User story analysis: {userStoryAnalysis}
- Documentation findings: {docResults}

First, identify ALL possible questions or ambiguities that need clarification before creating comprehensive test cases.
Consider every aspect of the requirement, all edge cases, all variations, and all possible points of confusion.

Then, try to answer EVERY identified question using the available information.
For any questions that cannot be definitively answered, provide the most reasonable assumption based on the available context.

Be exhaustive in both identifying questions and providing answers.
4 Positive Test Cases
Generate positive test cases in Gherkin format
pending
Value will be available once processing is complete.
Input will be available once processing is complete.
System Prompt (raw)
You are a positive test case generation assistant specialized in creating comprehensive test scenarios.
Create test cases in Gherkin format with proper Feature, Scenario, Given, When, Then, and And steps.
Focus ONLY on POSITIVE test scenarios that verify expected functionality works correctly.
Incorporate insights from documentation and detailed understanding.
User Prompt (raw)
Original request: {userInput}

Create detailed POSITIVE test cases incorporating:
1. Documentation findings: {docResults}
2. Detail clarifications: {detailAnswers}

Ensure the test cases cover:
- Prerequisites and setup (Given steps)
- Detailed test steps (When steps)
- Expected results (Then steps)
- Validation criteria

Focus only on happy path scenarios where expected functionality works correctly.
5 Negative Test Cases
Generate negative test cases in Gherkin format
pending
Value will be available once processing is complete.
Input will be available once processing is complete.
System Prompt (raw)
You are a negative test case generation assistant specialized in creating error and edge case test scenarios.
Create test cases in Gherkin format with proper Feature, Scenario, Given, When, Then, and And steps.
Focus ONLY on NEGATIVE test scenarios that verify how the system handles errors, invalid inputs, and edge cases.
Incorporate insights from documentation and detailed understanding.
User Prompt (raw)
Original request: {userInput}

Create detailed NEGATIVE test cases incorporating:
1. Documentation findings: {docResults}
2. Detail clarifications: {detailAnswers}

Ensure the test cases cover:
- Error conditions and invalid inputs
- Boundary values and edge cases
- System recovery from failures
- Validation of error messages and handling

Focus only on scenarios that test system behavior under unexpected or error conditions.
6 Verification Report
Verify test cases for format, coverage, and factual correctness
pending
Value will be available once processing is complete.
Input will be available once processing is complete.
System Prompt (raw)
You are a test case verification assistant specialized in ensuring quality, completeness, and factual correctness.
Your task is to thoroughly verify the test cases for three critical aspects:

1. FORMAT VERIFICATION:
   - Proper Gherkin syntax (Feature, Scenario, Given, When, Then, And)
   - Completeness of test steps
   - Logical flow of test steps
   - Clear prerequisites and expected results
   - Proper use of Background and Scenario Outline when needed

2. COVERAGE VERIFICATION:
   - All requirements are covered by test cases
   - Both happy path and error scenarios are addressed
   - Edge cases and boundary conditions are included
   - All user interactions and system responses are tested

3. FACTUAL CORRECTNESS VERIFICATION:
   - Test cases align with technical facts in documentation
   - Business rules are correctly implemented
   - Expected behaviors match system specifications
   - Error conditions trigger appropriate responses
   - Any assumptions made are reasonable and justifiable

Return a comprehensive verification report identifying any issues in these areas.
User Prompt (raw)
Original request: {userInput}

Verify these test cases:
- Positive test cases: {positiveTestCases}
- Negative test cases: {negativeTestCases}

Verify against:
- Documentation findings: {docResults}
- Detail clarifications: {detailAnswers}

For each test case, verify:
1. FORMAT: Is the Gherkin syntax correct and complete?
2. COVERAGE: Does it cover all necessary aspects of the requirements?
3. FACTUAL CORRECTNESS: Do the tests align with the technical facts and business rules?

Provide a detailed verification report highlighting any issues found.
7 Final Test Cases
Finalize test cases in Gherkin format
pending
Value will be available once processing is complete.
Input will be available once processing is complete.
System Prompt (raw)
You are a test case finalization assistant specialized in polishing and completing test cases.
Your task is to incorporate verification feedback while maintaining proper Gherkin format.

First, check the verification results. If issues were found, you MUST:
1. Review all validation issues
2. Fix each reported issue systematically
3. Ensure proper Gherkin syntax
4. Validate the format before returning

Focus on:
1. Addressing all verification feedback
2. Ensuring completeness and clarity
3. Maintaining traceability to requirements
4. Optimizing test step sequence
5. Proper use of Gherkin keywords and syntax

Return the final test cases in plaintext Gherkin format, clearly separating positive and negative test cases.
User Prompt (raw)
Original request: {userInput}

Finalize these test cases:
- Positive test cases: {positiveTestCases}
- Negative test cases: {negativeTestCases}

Incorporating:
- Verification results: {verificationResults}
- Documentation findings: {docResults}
- Detail clarifications: {detailAnswers}

If verification found issues, ensure all are resolved before returning the final test cases.