05-testing

Coordinate unit, integration, Kubernetes, LinkSys, and config-sync testing workflows for Edgion.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Pandaala/Edgion --skill 05-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 05-testing
Source: https://github.com/Pandaala/Edgion/tree/main/skills/05-testing
Command: npx skills add https://github.com/Pandaala/Edgion --skill 05-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Testing guidance that helps you write and run unit, integration, K8s, LinkSys, and config-sync validation workflows in Edgion without gaps, flaky results, or misleading failures.

Core Features & Use Cases

  • Unit test discipline for Rust modules: enforce inline test patterns, edge-case coverage, and filesystem-safe testing using tempfile to keep behavior deterministic.
  • Integration test orchestration: use the controller/gateway shared topology, run targeted suites, and validate hot-reload (dynamic scenarios) with scenario-based phase suites.
  • Environment-specific validation paths: cover Kubernetes execution differences, LinkSys connector tests via Admin API with Docker services, and config-sync residue/leak detection to prevent stale store bugs.

Quick Start

Run all unit tests with coverage-focused guidance by executing: cargo test --all

Frequently Asked Questions about 05-testing

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

FAQPage Schema
How do I run integration tests for an API gateway with hot-reload scenarios?

To run Rust unit tests, enforce inline test patterns and edge-case coverage using tempfile to keep filesystem interactions deterministic. Execute the test suite with cargo test --all to apply coverage-focused guidance across all modules.

How do I detect cache or store leaks after deletes in a gateway configuration?

Detect cache and store leaks by querying store-stats endpoints to verify data integrity after delete operations. This leak and residue verification prevents stale store bugs from persisting in your gateway configuration.

What is the best way to validate LinkSys connectors using Docker and Admin API?

Validate LinkSys connectors by running tests through the Admin API with Docker services. This dedicated validation path verifies connector behavior in an isolated environment without flaky results.

How do I validate Kubernetes migration behavior for an API gateway?

Validate Kubernetes migration behavior by following a K8s suite rework checklist that covers execution environment differences. This ensures your gateway codebase handles K8s-specific topology and migration scenarios correctly.

Why are my Rust unit tests failing due to filesystem state changes?

Rust unit tests fail from filesystem state changes when not using filesystem-safe testing patterns. Enforce inline test patterns with tempfile to isolate filesystem interactions and keep module behavior deterministic across runs.