Skip to content

Property/fuzz tests for quest_registry weekly streak logic #18

Description

@mericcintosun

Context. quest_registry tracks weekly streaks (increment, reset on a gap, preserve best). There are unit tests but no property tests, unlike reputation/rewards.

Tasks

  • proptest over arbitrary sequences of completion weeks.
  • Invariants: weeks never exceeds consecutive run; best is monotonic; a gap resets to 1.

Files: contracts/quest_registry/src/test.rs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programcontractsSoroban contractstestAdding or improving tests

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions