test

Run Swift unit or end-to-end test suites against a local codebase.

1.1k|148|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/soniqo/speech-swift --skill test-soniqo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/soniqo/speech-swift/tree/main/.claude/skills/test
Command: npx skills add https://github.com/soniqo/speech-swift --skill test-soniqo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of catching Swift regressions and ensuring your speech model pipeline still works after code changes.

Core Features & Use Cases

  • Unit testing: Runs quick, CI-safe tests without downloading models by default.
  • End-to-end testing (E2E): Runs full pipeline tests that require cached weights and a metallib setup for model execution.
  • Targeted test filtering: Passes any custom filter string through to swift test for running specific test suites or cases.

Use case: After changing MLX/CoreML inference logic or test harnesses, run unit tests first to catch fast failures, then run E2E tests to confirm the full speech pipeline works with real models.

Quick Start

Run the unit test suite by executing the test Skill with the argument unit.

Frequently Asked Questions about test

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

FAQPage Schema
How do I run unit tests for my Swift codebase to get quick CI feedback?

Run unit tests for your Swift codebase to get quick CI feedback by executing the unit mode. This runs deterministic suites without downloading models, targeting fast regression detection.

How do I execute end-to-end testing for a Swift speech model pipeline?

Execute end-to-end testing for a Swift speech model pipeline by running E2E suites that require cached weights and metallib setup. This validates the full pipeline with real model execution scenarios.

Can I filter specific test cases when running swift test commands?

You can filter specific test cases when running swift test commands by passing a custom filter string. This passthrough targets specific test suites or cases for focused execution.

Do I need cached weights and metallib setup for Swift E2E tests?

You need cached weights and a metallib setup to run Swift E2E tests. These prerequisites enable full pipeline validation with real model execution scenarios for your speech-swift changes.

What is the difference between unit and E2E test class naming in Swift?

The difference is that E2E test classes require E2E prefixes to enforce pipeline validation, while unit tests remain free of E2E prefixes to maintain separation for quick CI-safe feedback.