Skip to content

[TASK] Consolidate common test suite setup and utils across repos #270

@dutterbutter

Description

@dutterbutter

Overview

Reviewing the test suites, specifically the integration tests across our various repos, shows a lot of duplicated code / work that can be consolidated in a single comprehensive test package. It would be ideal if we standardize how we are setting up infrastructure for these tests, reduce time to write tests, and consolidate common utils in this package.

NOTE: This task is a wip and will be added to iteratively as more investigation is done across the various test suites. Please feel free to add additional common utils that can be consolidated where applicable.

Goals

  • Consolidate testing infrastructure to reduce duplicated code and standardize setups
  • The @webb-tools/test-utils will be a comprehensive testing package that can be used across repos

Package Feature Details (initial list)

  1. Start up different node types (e.g. dkg-substrate, protocol-substrate)
  2. Start EVM localTestnets
  3. Import development accounts to use (Alice, Bob, Charlie)
  4. Proposals
  5. NoteBuilder

Start up different node types

Setup LocalTestnets

Development account setup

Proposals

Note: More common test features likely will be added to reduce the duplication across test suite in various repos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2 🟡Issue should be resolved soontesting 🛠️Tasks that are related to testing

    Type

    No type

    Projects

    Status

    Not Started 🕧

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions