Skip to content

Test – Dispute Status Transitions and get_dispute_details #358

@Baskarayelu

Description

@Baskarayelu

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

  1. Fork the repo and create a branch
    git checkout -b test/dispute-status-transitions
  2. Implement changes
    • Add tests in src/test_dispute.rs
  3. Test and commit
    • Run cargo test
    • Attach test output

Example commit message
test: dispute status transitions and get_dispute_details

Guidelines

  • Minimum 95 percent test coverage
  • Clear documentation
  • Timeframe: 96 hours

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions