fluent-assertions
✓Crea afirmaciones de prueba legibles con la biblioteca FluentAssertions. Úselo cuando: escribir pruebas unitarias, pruebas de integración, verificar el estado del objeto, probar excepciones, afirmar colecciones
Instalación
SKILL.md
FluentAssertions provides a fluent interface for writing test assertions in C#. The Sorcha codebase uses it across 1,100+ tests with xUnit. All assertions follow the subject.Should().BeX() pattern.
| Should() | Entry point for all assertions | value.Should().Be(expected) | | And | Chain multiple assertions | .NotBeNull().And.HaveCount(2) | | Which/WhoseValue | Access nested values | .ContainKey("x").WhoseValue.Should().Be("y") | | Invoking | Test sync exceptions | obj.Invoking(x => x.Method()) |
| Awaiting | Test async exceptions | obj.Awaiting(x => x.MethodAsync()) |
Crea afirmaciones de prueba legibles con la biblioteca FluentAssertions. Úselo cuando: escribir pruebas unitarias, pruebas de integración, verificar el estado del objeto, probar excepciones, afirmar colecciones Fuente: stuartf303/sorcha.
Datos (listos para citar)
Campos y comandos estables para citas de IA/búsqueda.
- Comando de instalación
npx skills add https://github.com/stuartf303/sorcha --skill fluent-assertions- Fuente
- stuartf303/sorcha
- Categoría
- </>Desarrollo
- Verificado
- ✓
- Primera vez visto
- 2026-02-01
- Actualizado
- 2026-02-18
Respuestas rápidas
¿Qué es fluent-assertions?
Crea afirmaciones de prueba legibles con la biblioteca FluentAssertions. Úselo cuando: escribir pruebas unitarias, pruebas de integración, verificar el estado del objeto, probar excepciones, afirmar colecciones Fuente: stuartf303/sorcha.
¿Cómo instalo fluent-assertions?
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/stuartf303/sorcha --skill fluent-assertions 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/stuartf303/sorcha
Detalles
- Categoría
- </>Desarrollo
- Fuente
- skills.sh
- Primera vez visto
- 2026-02-01