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

Add Ginkgo E2E test support for Teleporter examples #4

Open
Tracked by #385 ...
cam-schultz opened this issue May 22, 2024 · 1 comment
Open
Tracked by #385 ...

Add Ginkgo E2E test support for Teleporter examples #4

cam-schultz opened this issue May 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cam-schultz
Copy link
Contributor

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:

  • A go.mod file pointing to ava-labs/teleporter
  • A basic E2E test entry point file (see the teleporter example here)
  • E2E test specifications for the example contracts (teleporter examples here)
  • A CI job to run the E2E tests (optional - I'm not sure what the CI strategy in this repo looks like)
@martineckardt
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants