Skip to main content

test

Run tests (frontend, backend, unit, or all)

Datos de origen

Repositorio
openshift/console
Última actividad en el origen
10 de febrero de 2026 a las 14:10
Idioma detectado de SKILL.md
inglés
Estrellas
459
Forks
766

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
test
description
Run tests (frontend, backend, unit, or all)
argument-hint
[frontend|backend|unit <name>|all]
# /test Run tests based on the arguments provided: - If `$ARGUMENTS` contains "frontend", run `./test-frontend.sh` - If `$ARGUMENTS` contains "backend", run `./test-backend.sh` - If `$ARGUMENTS` contains "unit", run `cd frontend && yarn test` and pass any additional arguments after "unit" - If no arguments or `$ARGUMENTS` contains "all", run `./test-frontend.sh` first (to generate i18n files), then run `./test-backend.sh` Note: When running all tests, the frontend tests must run first because they generate i18n localization files. If the backend tests run in parallel during i18n generation, the backend vendor check will detect these generated files as git changes and fail. Examples: - `/test` or `/test all` - Run all tests - `/test frontend` - Run frontend tests only - `/test backend` - Run backend tests only - `/test unit` - Run Jest unit tests - `/test unit MyComponent` - Run Jest unit tests matching "MyComponent" - `/test frontend backend` - Run both frontend and backend tests Report the results from the test suite(s). If any tests fail, troubleshoot the failures and fix them.
Ver en GitHub