Skip to content

Write unit tests for smart contract #49

@Ugasutun

Description

@Ugasutun

Description

Add unit tests for the Soroban smart contract
functions using the Soroban test utilities.

Functions to test

  • create_pool()
  • apply()
  • vote() including double vote prevention
  • distribute()
  • get_pool() and get_application()

Tech

  • soroban-sdk testutils feature
  • Rust #[cfg(test)] module
  • cargo test

Metadata

Metadata

Assignees

No one assigned

    Labels

    TestingWant to see if it is workinghelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions