-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description
Add tests for dispute lifecycle: None → Disputed → UnderReview → Resolved; get_dispute_details returns correct data at each step; get_invoice_dispute_status; get_invoices_by_dispute_status.
Requirements and context
- Achieve minimum 95% test coverage for dispute status and getters
- Smart contracts only (Soroban/Rust)
Suggested execution
- Fork the repo and create a branch
git checkout -b test/dispute-status-transitions - Implement changes
- Add tests in
src/test_dispute.rs
- Add tests in
- Test and commit
- Run
cargo test - Attach test output
- Run
Example commit message
test: dispute status transitions and get_dispute_details
Guidelines
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 96 hours
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program