Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dutterbutter opened this issue Aug 25, 2022 · 1 comment
Open
Labels
p2 🟡 Issue should be resolved soon testing 🛠️ Tasks that are related to testing

Comments

@dutterbutter
Copy link
Contributor

dutterbutter commented Aug 25, 2022

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.

@dutterbutter dutterbutter added p2 🟡 Issue should be resolved soon testing 🛠️ Tasks that are related to testing labels Aug 25, 2022
@drewstone
Copy link
Contributor

@dutterbutter this is something we can consider giving to @dharjeezy too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2 🟡 Issue should be resolved soon testing 🛠️ Tasks that are related to testing
Projects
Status: Not Started 🕧
Development

No branches or pull requests

3 participants