Skip to content

Test – get_bids_for_invoice and get_bids_by_status #334

@Baskarayelu

Description

@Baskarayelu

Description
Add tests for get_bids_for_invoice (all records), get_bids_by_status (Placed, Withdrawn, Accepted, Expired), get_bids_by_investor; empty and multiple bids.

Requirements and context

  • Achieve minimum 95% test coverage for bid queries
  • Smart contracts only (Soroban/Rust)

Suggested execution

  1. Fork the repo and create a branch
    git checkout -b test/bids-for-invoice-by-status
  2. Implement changes
    • Add tests in src/test_bid.rs or test_queries
  3. Test and commit
    • Run cargo test
    • Attach test output

Example commit message
test: get_bids_for_invoice and get_bids_by_status

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