Skip to content

Run adapter-specific test suites from the CLI #132

Open

Description

@aram356

Description

Add an edgezero test command that dispatches the relevant test suite for a selected adapter.

CI already invokes native and provider-runtime contract suites directly with Cargo. The CLI command enum has no test variant, so that workflow is not available through the application CLI.

Steps to reproduce

  1. Inspect the CLI command enum.
  2. Inspect the runtime test matrix to identify existing commands/runners a test subcommand could reuse.

Expected behavior

A developer can run the documented adapter-specific test workflow from EdgeZero and receive the underlying result.

Impact

Developers must know target triples, Cargo features and runtime-specific runners.

Proposed fix

Add a narrow test-dispatch contract with adapter selection, argument forwarding and clear runner/tool availability errors.

Done when

  • edgezero test selects and invokes the documented adapter suite.
  • User test arguments and underlying failure status propagate predictably.
  • Missing SDK/runtime tooling is reported clearly.
  • Help/examples cover native and supported WASM runtime tests without requiring live credentials.

Related

Activity

  1. changed the title [-]Test command[/-] [+]Run adapter-specific test suites from the CLI[/+] on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions