Skip to content

Re-Implement integration tests for the system #34

@apbendi

Description

@apbendi
  • UniStaker integration tests were broken and removed by the modifications made, we should reintroduce integration tests again
  • Broadly speaking there are two kinds of integration tests we can write
    • Implementation specific unit tests that fork from real chain state for a specific DAO: e.g. ARB/Arbitrum specific testing
    • Tests that exercise the full system end to end locally without mocks or fakes, but not using a concrete instance onchain
  • Ideally, we might find a way to abstract the integration tests such that they could be run in both of the aforementioned contexts
    • Inherit from an abstract test suite, implement a few methods, including setUp, and then the test suite will run agains that scenario. This could be used for a locally set up version, for Arb specifically in fork tests, but also (in theory) for other concrete DAO instances in the future

Metadata

Metadata

Assignees

No one assigned

    Labels

    todoIssues that need to be tackled pre-audit

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions