·swift-testing
</>

swift-testing

johnrogers/claude-swift-engineering

Swift Testing (@Test,

57インストール·1トレンド·@johnrogers

インストール

$npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swift-testing

SKILL.md

Swift Testing replaces XCTest with a modern macro-based approach that's more concise, has better async support, and runs tests in parallel by default. The core principle: if you learned XCTest, unlearn it—Swift Testing works differently.

| #expect(expression) | Soft check — continues on failure. Use for most assertions. | | #require(expression) | Hard check — stops test on failure. Use for preconditions only. |

| XCTAssert(expr) | #expect(expr) | | XCTAssertEqual(a, b) | #expect(a == b) | | XCTAssertNil(a) | #expect(a == nil) | | XCTAssertNotNil(a) | #expect(a != nil) | | try XCTUnwrap(a) | try #require(a) | | XCTAssertThrowsError | #expect(throws: ErrorType.self) { } | | XCTAssertNoThrow | #expect(throws: Never.self) { } |

Swift Testing (@Test, ソース: johnrogers/claude-swift-engineering。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swift-testing
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-01
更新日
2026-02-18

クイックアンサー

swift-testing とは?

Swift Testing (@Test, ソース: johnrogers/claude-swift-engineering。

swift-testing のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swift-testing インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/johnrogers/claude-swift-engineering