run-examples

Run EVM and Solana example integration tests against testnets and local facilitators.

71|22|Updated Apr 6, 2020
One-click install
npx skills add https://github.com/nirholas/agenti --skill run-examples
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-examples
Source: https://github.com/nirholas/agenti/tree/main/packages/protocols/x402-faremeter/skills/run-examples
Command: npx skills add https://github.com/nirholas/agenti --skill run-examples

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates end-to-end execution of EVM and Solana example integration tests, enabling deterministic validation of payment flows and facilitator setups.

Core Features & Use Cases

  • Automated test orchestration: Start facilitator and resource servers, run EVM and/or Solana test suites.
  • Scoped execution: Run only EVM, only Solana, or both using arguments evm, solana, or all.
  • CI-ready results: Exits with 0 on success and provides a results summary for reporting.

Quick Start

Run the example tests from the scripts/ directory using pnpm tsx with the argument evm, solana, or all.

Frequently Asked Questions about run-examples

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run EVM and Solana integration tests for payment flows?

To run EVM and Solana integration tests, use pnpm tsx from the scripts/ directory. Pass 'evm', 'solana', or 'all' as arguments to select the test scope, which automates facilitator setup and payment validation.

What do I need to automate end-to-end Solana and EVM example test suites?

Automating these test suites requires a Node.js environment and pnpm installed. You must also run the commands from the scripts/ working directory to ensure the facilitator and resource servers start correctly for deterministic validation.

Can I run only EVM or Solana tests instead of executing the entire suite?

Yes, you can run scoped executions by passing 'evm' or 'solana' as arguments. Passing 'all' executes both EVM and Solana test suites against testnets and local facilitator setups.

Does the EVM and Solana test automation provide results for CI pipelines?

Yes, the automated test orchestration is CI-ready. It exits with code 0 on success and provides a results summary, making it suitable for deterministic validation reporting in continuous integration pipelines.

Why does my pnpm tsx command fail when running Solana or EVM integration tests?

The command fails if not executed from the scripts/ directory. Running EVM and Solana integration tests requires a Node.js environment, pnpm, and that your working directory is explicitly set to scripts/ before execution.

What is the best way to validate facilitator setups and payment flows across testnets?

Automating end-to-end execution of EVM and Solana example integration tests is the best way to validate payment flows. This process starts facilitators and resource servers to perform deterministic test suite validation against testnets.