| name | chatqna-run-unit-tests |
| description | Run ChatQnA Core unit tests for backend (pytest via uv) and frontend UI (vitest), including runtime selection (openvino or ollama), coverage options, and concise pass/fail evidence. Use this skill when the user says "run unit tests", "run backend tests", "run UI tests", "pytest", or "vitest".
|
| metadata | {"version":"1.0.0","tags":"chatqna tests unit-tests pytest vitest backend frontend openvino ollama"} |
| argument-hint | Describe what to test and scope, for example "run backend openvino tests", "run UI tests with coverage", or "run all unit tests".
|
ChatQnA Run Unit Tests
Run unit tests for Chat Question-and-Answer Core backend and frontend UI using
the repository-supported commands.
Codebase root: sample-applications/chat-question-and-answer-core/
What This Skill Produces
- Executed unit tests for one or both scopes:
- Backend (
pytest via uv run)
- Frontend UI (
vitest via npm run)
- Optional coverage execution for backend and UI.
- A concise test report containing:
- scope executed (backend/ui/both)
- runtime used for backend (
openvino or ollama)
- pass/fail status and failing test identifiers
- exact command(s) run as evidence