Skip to content

Develop test suite #31

Description

@jorgenbuilder

Now that we have a test harness, let's build some confidence by adding test cases that cover the user journeys. We should focus on private sale use cases for now.

Stable State

  • Stable state survives upgrade for each module

Test Event Configs

  • Create event with one or two mints per private sale user.
  • Create event with unlimited mints for allowlist users.

Basic Test Journey

  • Mint with no allowlist access should fail.
  • Mint with insufficient funds should fail.
  • User deposits funds.
  • Mint should succeed.
  • Mints beyond allowlist allocation should fail.
  • Transaction fees are accounted for in all transfers

Test Concurency

  • 500 users attending a private sale at the same time, depositing funds and trying to mint.

Ensure

  • Funds are always received
  • ICP transactions are always atmoic with mints

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    criticalit's a must-have

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions