run-e2e-tests

Automate SwiftStateTree end-to-end tests with automatic server management.

1|Updated Nov 22, 2025
One-click install
npx skills add https://github.com/gmliao/swift-state-tree --skill run-e2e-tests-gmliao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-e2e-tests
Source: https://github.com/gmliao/swift-state-tree/tree/main/.agent/skills/SwiftStateTree/run-e2e-tests
Command: npx skills add https://github.com/gmliao/swift-state-tree --skill run-e2e-tests-gmliao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates end-to-end testing for the SwiftStateTree project with automatic server management and multi-encoding verification.

Core Features & Use Cases

  • Automated server startup and shutdown during testing.
  • Executes the full E2E suite across all encoding modes (jsonObject, opcodeJsonArray, and messagepack).
  • Prioritizes automated verification during PR checks and feature validation; collects logs on failure and cleans up resources.

Quick Start

Use the run-e2e-tests skill to execute the end-to-end test suite for SwiftStateTree. The skill will manage server lifecycles, run tests, and report results.

Frequently Asked Questions about run-e2e-tests

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

FAQPage Schema
How do I automate end-to-end tests with server startup and shutdown?

Automating end-to-end tests with server management is handled by starting the server, executing the test suite, and cleanly tearing down the environment automatically. This ensures deterministic test orchestration without manual server intervention.

What are e2e testing best practices for validating Swift PRs across multiple encoding modes?

Validating Swift PRs across multiple encoding modes requires running the full e2e suite across jsonObject, opcodeJsonArray, and messagepack encodings. The testing skill collects logs on failure and cleans up resources to verify features during PR checks.

How does automatic server management work during CI e2e testing?

Automatic server management during CI e2e testing works by orchestrating server lifecycles internally. It handles environment setup before tests run and ensures clean teardown afterward, applying to PR validation and feature debugging workflows.

Why do my Swift end-to-end tests fail due to inconsistent server environments?

Swift end-to-end tests often fail due to inconsistent server environments because manual setup lacks deterministic orchestration. Automating server startup and shutdown ensures a clean, stable environment for accurate test script execution and log collection.

Can I run e2e tests across messagepack and jsonObject encodings automatically?

Yes, you can run e2e tests across messagepack and jsonObject encodings automatically. The test orchestration executes the full suite across jsonObject, opcodeJsonArray, and messagepack modes to verify multi-encoding compatibility.

Do I need a separate server management tool for SwiftStateTree test scripts?

No, you do not need a separate server management tool for SwiftStateTree test scripts. The testing orchestration handles server lifecycles, environment setup, and clean teardown internally to satisfy deterministic validation requirements.