-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
ETA - less than 12 hrsStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededsmart-contract
Description
Description:
Write comprehensive test cases for multi-outcome market creation, betting, resolution, and payouts.
Requirements and Context:
- Must achieve minimum 95% test coverage
- Should test creation with 2, 3, and N outcomes
- Should test valid and invalid outcome selection in bets
- Should test payout calculation for single winner and tie/split
- Should test backward compatibility with binary markets
- Should test edge cases (one outcome has no bets, all same outcome)
Suggested Execution:
-
Fork the repo and create a branch
git checkout -b test/multi-outcome-markets-tests
-
Implement changes
- Write tests:
src/test.rs(multi-outcome tests) - Add edge case and integration tests; validate test coverage
- Write tests:
-
Test and commit
- Run tests with coverage; include test output
Example Commit Message:
test: add comprehensive tests for multi-outcome markets
Guidelines:
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 48 hours
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ETA - less than 12 hrsStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededsmart-contract