mirror of https://github.com/buster-so/buster.git
2.8 KiB
2.8 KiB
title | author | date | status | parent_prd | ticket |
---|---|---|---|---|---|
Component Name | Your Name | YYYY-MM-DD | Draft | project_name.md | TICKET-ID |
Component Name
Parent Project
This is a sub-PRD of the Project Name project. Please refer to the parent PRD for the overall project context, goals, and implementation plan.
Problem Statement
Current behavior:
- [Current behavior 1]
- [Current behavior 2]
- [Current behavior 3]
Expected behavior:
- [Expected behavior 1]
- [Expected behavior 2]
- [Expected behavior 3]
Goals
Non-Goals
Implementation Plan
Phase 1: [Name] ⏳ (In Progress)
Technical Design
// Include actual code structures/types
struct ComponentName {
field1: Type1, // Purpose of field1
field2: Type2, // Purpose of field2
}
Implementation Steps
-
Step 1
- Technical details
- Edge cases to handle
- Testing requirements
-
Step 2
- Technical details
- Edge cases to handle
- Testing requirements
Tests
Unit Tests
#[cfg(test)]
mod tests {
#[test]
fn test_normal_case() {
// Test implementation
}
#[test]
fn test_edge_case_1() {
// Test implementation
}
#[test]
fn test_error_case_1() {
// Test implementation
}
}
Integration Tests
- Test Scenario: [Description]
- Setup:
- Required data
- System state
- Steps:
- Action 1
- Action 2
- Assertions:
- Expected state
- Error cases
- Edge Cases:
- Case 1
- Case 2
- Setup:
Success Criteria
- Criterion 1
- Criterion 2
- All tests passing
Phase 2: [Name] 🔜 (Not Started)
[Similar structure to Phase 1]
Dependencies on Other Components
- Component 1
- Interface changes:
- Testing requirements:
- Integration points:
Security Considerations
- Consideration 1
- Risk:
- Mitigation:
- Testing:
References
- [Link to design docs]
- [Link to related PRDs]