Skip to content

test: add comprehensive tests for whitelist and blacklist #262

@greatest0fallt1me

Description

@greatest0fallt1me

Description:

Write comprehensive test cases for whitelist and blacklist enforcement.

Requirements and Context:

  • Must achieve minimum 95% test coverage
  • Should test whitelist: only listed users can bet
  • Should test blacklist: listed users cannot bet
  • Should test admin add/remove and enforcement
  • Should test empty list (no restriction)
  • Should test event-level vs global list if both exist

Suggested Execution:

  1. Fork the repo and create a branch

    git checkout -b test/whitelist-blacklist-tests
  2. Implement changes

    • Write tests: src/test.rs (whitelist/blacklist tests)
    • Validate test coverage
  3. Test and commit

    • Run tests with coverage; include test output

Example Commit Message:

test: add comprehensive tests for whitelist and blacklist

Guidelines:

  • Minimum 95 percent test coverage
  • Clear documentation
  • Timeframe: 48 hours

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions