-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description:
Add a dedicated integration test suite that runs full flows (create event → place bets → resolve → claim) with mock oracles and tokens, and document CI entrypoint (e.g., cargo test --test integration).
Requirements and Context:
- Must be secure, tested, and documented
- Should add integration tests (e.g., in
tests/orsrc/integration_test.rs) covering: create event, place bets, resolve (oracle/manual), claim, cancel, refund - Should use Soroban testutils and mock contracts where needed
- Should document how to run:
cargo test --test integrationor similar - Should be runnable in CI (no network required)
- Must not replace unit tests; complement them
Suggested Execution:
-
Fork the repo and create a branch
git checkout -b feature/integration-test-suite
-
Implement changes
- Add integration test file(s)
- Add README or Makefile target for integration tests
- Add documentation
-
Test and commit
- Run full test suite and integration tests; include test output
Example Commit Message:
feat: implement integration test suite and CI entrypoint for full flows
Guidelines:
- Clear documentation
- Timeframe: 72 hours
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program