Skip to main content

test

Run tests. Use after code changes to validate. Arguments: unit (default, no GPU), e2e (with models), filter name, or all.

インストールへ移動

ソース情報

リポジトリ
soniqo/speech-swift
ソースの最終更新活動
2026年7月11日 10:50
検出された SKILL.md の言語
英語
スター
1,180
フォーク
163

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
test
description
Run tests. Use after code changes to validate. Arguments: unit (default, no GPU), e2e (with models), filter name, or all.
# Test Run unit and/or E2E tests. - `unit` (default): Quick tests, no model downloads. CI-safe. - `e2e`: Full pipeline tests with real models, via `scripts/test_e2e_isolated.sh` — one process per E2E suite. Never use plain `swift test` for the full E2E suite: models accumulate in a single xctest process and can exhaust system memory (observed: machine reboot). - `all`: Both unit and E2E (unit phase once, then isolated E2E suites). - Any other argument: passed as `--filter` to swift test. ```bash arg="${ARGUMENTS:-unit}" case "$arg" in unit) swift test --skip E2E 2>&1 | tail -20 ;; e2e) swift build --build-tests --disable-sandbox && ./scripts/build_mlx_metallib.sh debug && E2E_SKIP_UNIT=1 scripts/test_e2e_isolated.sh 2>&1 | tail -40 ;; all) swift build --build-tests --disable-sandbox && ./scripts/build_mlx_metallib.sh debug && scripts/test_e2e_isolated.sh 2>&1 | tail -40 ;; *) swift test --filter "$arg" 2>&1 | tail -20 ;; esac ``` E2E test classes MUST be prefixed with `E2E`. Unit test classes must NOT contain `E2E`.
GitHubで見る