-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
p2 🟡Issue should be resolved soonIssue should be resolved soontesting 🛠️Tasks that are related to testingTasks that are related to testing
Description
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-utilswill 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
- See: Relayer test libs localProtocolSubstrate
- See: Relayer test libs localDKG
Setup LocalTestnets
- See: Relayer test libs localTestnet
- See: dkg-substrate test libs localEVM
Development account setup
- See: webb.js mixer account setup
Proposals
- See: dkg-substrate test proposals and here
- See: relayer webb-proposals
Note: More common test features likely will be added to reduce the duplication across test suite in various repos.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p2 🟡Issue should be resolved soonIssue should be resolved soontesting 🛠️Tasks that are related to testingTasks that are related to testing
Type
Projects
Status
Not Started 🕧