Skip to main content

test

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

Quellinformationen

Repository
openshift/console
Letzte Quellaktivität
10. Februar 2026 um 14:10
Erkannte Sprache von SKILL.md
Englisch
Sterne
460
Forks
766

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
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.
Auf GitHub ansehen