Overview
No coverage tool (cargo-tarpaulin, cargo-llvm-cov, or equivalent) or CI reporting step exists for contracts/, despite the workspace already having a reasonably strong existing test suite across all five crates — coverage tooling would make it possible to see where that strong baseline actually has gaps, rather than guessing (as several issues in this batch, like [CONTRACT-50], had to do by manual inspection).
Tasks
Acceptance Criteria
Notes for Contributors
Requires Rust + Soroban. Workspace: contracts/ (members: identity, shipment, escrow, document, reputation). Run cargo test --all, cargo fmt --all -- --check, and cargo clippy --all-targets --all-features -- -D warnings before opening a PR — CI enforces all three. Comment below to be assigned.
Overview
No coverage tool (
cargo-tarpaulin,cargo-llvm-cov, or equivalent) or CI reporting step exists forcontracts/, despite the workspace already having a reasonably strong existing test suite across all five crates — coverage tooling would make it possible to see where that strong baseline actually has gaps, rather than guessing (as several issues in this batch, like [CONTRACT-50], had to do by manual inspection).Tasks
cargo-llvm-cov(orcargo-tarpaulin) as a CI step for thecontractsworkspace.Acceptance Criteria
Notes for Contributors
Requires Rust + Soroban. Workspace:
contracts/(members:identity,shipment,escrow,document,reputation). Runcargo test --all,cargo fmt --all -- --check, andcargo clippy --all-targets --all-features -- -D warningsbefore opening a PR — CI enforces all three. Comment below to be assigned.