This folder contains example PBIs and their corresponding high-quality test cases. Claude AI will use these examples to learn the expected format and quality standards when generating test cases.
examples/
├── pbis/ # Example PBI JSON files
├── test-cases/ # Example test case markdown files
└── README.md # This file
- Create a JSON file in the
pbis/folder - Name it descriptively (e.g.,
user-login-feature.json,report-generation.json) - Include the PBI data structure from Azure DevOps
Example PBI file structure:
{
"id": 12345,
"fields": {
"System.Title": "Add user login functionality",
"System.Description": "<div>As a user, I want to log in...</div>",
"System.WorkItemType": "Product Backlog Item",
"System.State": "Done",
"System.AssignedTo": {
"displayName": "John Smith"
}
}
}- Create a markdown file in the
test-cases/folder - Use the exact same base name as the corresponding PBI file
- PBI:
user-login-feature.json - Test Cases:
user-login-feature.md
- PBI:
- Write comprehensive, high-quality manual test cases
IMPORTANT: PBI and test case files must have matching names (excluding extension):
✅ Correct:
pbis/user-authentication.jsontest-cases/user-authentication.md
❌ Incorrect:
pbis/user-auth.jsontest-cases/user-authentication.md
When you generate test cases:
- The system scans both
pbis/andtest-cases/folders - Finds matching pairs (same filename, different extension)
- Includes these examples in Claude's context
- Claude learns from these examples to generate similar quality test cases
The more examples you add, the better Claude understands your preferred format and style!
- Complete: Include all sections (preconditions, steps, data, expected results)
- Clear: Write in plain, unambiguous language
- Structured: Follow consistent formatting
- Diverse: Include different types of PBIs (features, bugs, enhancements)
- Realistic: Use actual PBIs and test cases from your team
- Quality: Only include test cases that meet your quality standards
To get started, you can:
- Export a well-tested PBI from Azure DevOps as JSON
- Copy the manual test cases you wrote for it
- Format the test cases in markdown
- Save both files with matching names in their respective folders
The next time you generate test cases, Claude will reference these examples!