·swift-testing
</>

swift-testing

johnrogers/claude-swift-engineering

Úselo al escribir pruebas con Swift Testing (@Test,

57Instalaciones·1Tendencia·@johnrogers

Instalación

$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) { } |

Úselo al escribir pruebas con Swift Testing (@Test, Fuente: johnrogers/claude-swift-engineering.

Ver original

Datos (listos para citar)

Campos y comandos estables para citas de IA/búsqueda.

Comando de instalación
npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swift-testing
Categoría
</>Desarrollo
Verificado
Primera vez visto
2026-02-01
Actualizado
2026-02-18

Respuestas rápidas

¿Qué es swift-testing?

Úselo al escribir pruebas con Swift Testing (@Test, Fuente: johnrogers/claude-swift-engineering.

¿Cómo instalo swift-testing?

Abre tu terminal o herramienta de línea de comandos (Terminal, iTerm, Windows Terminal, etc.) Copia y ejecuta este comando: npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swift-testing Una vez instalado, el skill se configurará automáticamente en tu entorno de programación con IA y estará listo para usar en Claude Code o Cursor

¿Dónde está el repositorio de origen?

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