ava-labs / avalanche-starter-kit

55 stars 77 forks source link

Add Ginkgo E2E test support for Teleporter examples #4

Open cam-schultz opened 3 months ago

cam-schultz commented 3 months ago

teleporter uses Ginkgo to author end-to-end tests that deploy multiple blockchains to a local network, and send Teleporter messages between them. It is a useful tool for iterating on contracts, allowing developers to specify the expected behavior, and run repeatable tests that do not leak state from run to run. teleporter also provides the necessary utilities for setting up the local network and deploying Teleporter, as well as common operations such as issuing transactions, deploying example contracts, etc. Given avalanche-starter-kit's role as an introductory development environment for Teleporter developers, integrating the E2E framework would give developers a powerful tool for developing additional examples and verifying they are working as intended. The E2E test can then be committed to the repo (or fork) along with the developed contract and run in CI.

The specific components that would need to be included are:

martineckardt commented 3 months ago

Sounds great 🙌🏻 Let's look at the CI strategy once the tests are implemented