Skip to content

Add Ginkgo E2E test support for Teleporter examples #4

Open
@cam-schultz

Description

@cam-schultz

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions