-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
ETA - less than 12 hrsenhancementNew 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 custom token bet placement and payouts.
Requirements and Context:
- Must achieve minimum 95% test coverage
- Should test bet and payout with custom token
- Should test balance and transfer correctness
- Should test insufficient balance and invalid token
- Should test mixed XLM and token if both supported
- Should test approval/allowance if applicable
Suggested Execution:
-
Fork the repo and create a branch
git checkout -b test/custom-token-support-tests
-
Implement changes
- Write tests:
src/test.rs(custom token tests with mock token) - Validate test coverage
- Write tests:
-
Test and commit
- Run tests with coverage; include test output
Example Commit Message:
test: add comprehensive tests for custom Stellar token support
Guidelines:
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 72 hours
Metadata
Metadata
Assignees
Labels
ETA - less than 12 hrsenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededsmart-contract