🧪

tunit

Seguro 🌐 Acceso a red📁 Acceso al sistema de archivos⚙️ Comandos externos

Run TUnit tests with Playwright

Blazor component testing requires running TUnit with Playwright. This skill provides commands to execute tests, filter by name, run in debug mode, and generate reports.

Soporta: Claude Codex Code(CC)
📊 69 Adecuado
1

Descargar el ZIP de la skill

2

Subir en Claude

Ve a Configuración → Capacidades → Skills → Subir skill

3

Activa y empieza a usar

Pruébalo

Usando "tunit". Run TUnit tests with Playwright

Resultado esperado:

  • Running all TUnit tests with Playwright
  • Starting Blazor server on test URL
  • Executing tests sequentially with limited parallelism
  • Test Results: All tests passed
  • Duration: Complete in expected time

Usando "tunit". Run specific test by name

Resultado esperado:

  • Filtering tests by name pattern
  • Running single test: Trigger_ShouldHave_RoleCombobox
  • Test passed successfully

Usando "tunit". Generate test report

Resultado esperado:

  • Running tests with TRX report output
  • Report generated at test_results.trx
  • Summary: 45 passed, 0 failed

Auditoría de seguridad

Seguro
v5 • 1/16/2026

Documentation-only skill containing test execution instructions. Contains bash command examples for running TUnit tests with Playwright. No executable code, no network calls, no file system access beyond standard documentation. Pure prompt-based skill with safe behavior matching stated purpose. All 47 static findings are false positives from pattern matching on documentation text.

2
Archivos escaneados
270
Líneas analizadas
3
hallazgos
5
Auditorías totales

Puntuación de calidad

38
Arquitectura
100
Mantenibilidad
85
Contenido
20
Comunidad
100
Seguridad
91
Cumplimiento de la especificación

Lo que puedes crear

Run component tests

Execute accessibility and behavior tests for Blazor UI components

Filter specific tests

Run specific test suites or individual tests by name pattern

Generate test reports

Run tests with TRX output for integration with build systems

Prueba estos prompts

Run all tests
Run TUnit tests with Playwright
Run specific test
Run the test named Trigger_ShouldHave_RoleCombobox using TUnit
Debug test
Run tests in debug mode so I can step through the code
Filter by pattern
Run all accessibility tests matching Keyboard* pattern

Mejores prácticas

  • Limit parallel tests to prevent browser resource exhaustion
  • Use test filters to run specific suites during development
  • Generate TRX reports for CI/CD integration

Evitar

  • Running all tests with maximum parallelism on every change
  • Skipping test reports in CI pipelines
  • Running debug mode without attaching a debugger

Preguntas frecuentes

What is TUnit?
TUnit is a modern testing framework for .NET that provides parallel test execution and flexible filtering.
Does this work with WebAssembly tests?
Yes, TUnit and Playwright support all Blazor render modes including WebAssembly and Server-Side Rendering.
How many parallel tests should I run?
Start with 1-2 parallel tests. Too many can exhaust browser resources and cause flaky failures.
Is my data safe when running tests?
Yes, tests run in an isolated test environment without accessing production data or external systems.
Why do tests sometimes fail intermittently?
Playwright tests can be flaky due to timing. The skill includes automatic retries and sequential execution to help.
How is this different from other test runners?
This skill is configured for Blazor component testing with Playwright, including accessibility testing.

Detalles del desarrollador

Estructura de archivos

📄 SKILL.md