一键导入
run-tests
Run frontend and backend tests with coverage reporting for the ResumeAI project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run frontend and backend tests with coverage reporting for the ResumeAI project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run accessibility tests to ensure the ResumeAI application is accessible to all users.
Analyze test coverage reports to identify areas needing more tests.
Run linters, formatters, and type checkers for both frontend and backend code.
Inspect and query the SQLite database used by the ResumeAI application.
Build and run Docker containers for the ResumeAI application.
Detect unused npm dependencies in the ResumeAI frontend project.
| name | run-tests |
| description | Run frontend and backend tests with coverage reporting for the ResumeAI project. |
This skill runs tests for both frontend (React/TypeScript) and backend (Python/FastAPI) components of the ResumeAI project.
# Using Makefile
make test
# Or run separately
npm test -- --run
pytest
# Run frontend tests in watch mode
npm test
# Run once without watch mode
npm test -- --run
# Run with coverage
npm run test:coverage
# Run specific test file
vitest path/to/test.test.tsx --run
# Run backend tests
pytest
# Run with verbose output
pytest -v
# Run with coverage
pytest --cov=resume-api --cov-report=html
# Run specific test file
pytest resume-api/tests/test_file.py
# Run specific test function
pytest resume-api/tests/test_file.py::TestClass::test_function
Coverage thresholds are set at 60% for lines, functions, branches, and statements.
# Frontend coverage report
npm run test:coverage
# Backend coverage report
pytest --cov=resume-api --cov-report=html --cov-report=term
# View HTML coverage report
open coverage/index.html
# Run all E2E tests
npm run test:e2e
# Run E2E tests with UI
npm run test:e2e:ui
# Run E2E tests in headed mode
npm run test:e2e:headed
# View E2E test report
npm run test:e2e:report
tests/, alongside componentsresume-api/tests/test_api_integration.py)npm run test:coverage before committing to ensure coverage thresholds are met--run flag with vitest for CI environments (non-interactive)coverage/ directory for backend and similar for frontend