36 lines
2.0 KiB
Markdown
36 lines
2.0 KiB
Markdown
# Xray Test Case Prompt
|
|
|
|
A specialized .cursorrules prompt for creating structured, Jira-compatible test cases for Xray from automated tests or feature descriptions.
|
|
|
|
## What You Can Build
|
|
|
|
- **Xray Test Cases**: Jira-ready test scenarios for manual and automated testing
|
|
- **Test Specifications**: Clear, structured test cases with preconditions and expected results
|
|
- **Manual Test Instructions**: Clear step-by-step instructions for manual testers
|
|
- **Data-Driven Tests**: Parameterized tests with multiple data variations
|
|
- **Jira-Integrated Tests**: Test cases with proper Xray annotations for Jira linking
|
|
|
|
## Benefits
|
|
|
|
- **Jira Integration**: Generate test cases that can be directly imported into Jira with Xray
|
|
- **Stakeholder Friendly**: Non-technical format that business users can understand
|
|
- **Standardized Structure**: Consistent format for all test cases
|
|
- **Automation Compatibility**: Creates tests that can be automated with your preferred framework
|
|
- **Traceability**: Includes Xray tags for linking tests to Jira issues
|
|
- **Complete Coverage**: Handles normal flows, edge cases, and data variations
|
|
|
|
## Synopsis
|
|
|
|
This prompt helps QA engineers create properly formatted test cases for Xray that can be imported directly into Jira, facilitating collaboration between technical and non-technical stakeholders.
|
|
|
|
## Overview of .cursorrules Prompt
|
|
|
|
The .cursorrules prompt guides QA engineers in creating effective Xray test cases with these key elements:
|
|
|
|
- **Structured Format**: Proper test case structure compatible with Xray
|
|
- **Best Practices**: Eight essential practices for creating clear and effective test cases
|
|
- **Example Structure**: Detailed examples of complete test cases with preconditions and steps
|
|
- **Conversion Process**: Step-by-step guide for converting automated tests to Xray format
|
|
- **Jira Integration**: Guidance on using Xray-specific annotations for Jira linking
|
|
- **Data-Driven Testing**: Techniques for parameterizing tests with multiple data sets
|