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)
- Start up different node types (e.g. dkg-substrate, protocol-substrate)
- Start EVM localTestnets
- Import development accounts to use (Alice, Bob, Charlie)
- Proposals
- 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.
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
@webb-tools/test-utilswill be a comprehensive testing package that can be used across reposPackage Feature Details (initial list)
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.