check-and-test

Solid

Run lint checks (ruff for Python, Biome for TS/JS), type checks (pyright for Python, tsc for TS/JS), and the standard pytest tiers (unit + e2e + tests skipped during pre-commit). Investigates failures to determine if they are application bugs or test issues, and fixes application bugs rather than weakening tests. Does not run paid-LLM real-API tests or scenario probes from the test-* command family.

Testing & QA 516 stars 54 forks Updated yesterday Apache-2.0

Install

View on GitHub

Quality Score: 91/100

Stars 20%
90
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Check and Test Run the standard check-and-test flow (lint + type-check + pytest tiers), including tests normally skipped during pre-commit hooks. ## Overview This command runs the standard check-and-test tiers: - **Python lint checks** via ruff (code quality, security, complexity) - **Python type checks** via pyright (type safety) - **TypeScript/JavaScript lint checks** via Biome (code quality, formatting, import sorting) - **TypeScript/JavaScript type checks** via tsc (type safety) - **Unit tests** in `reflexio/tests/` (excluding e2e and tests under reflexio/tests/server/llm/) - **E2E tests** in `reflexio/tests/e2e_tests/` (skip all the low priority test by NOT setting RUN_LOW_PRIORITY env variable) - **Tests skipped during pre-commit** (those decorated with `@skip_in_precommit`) The key difference from pre-commit is that `PRECOMMIT` env var is NOT set, so all tests run. ## Prerequisites Before running tests, activate the virtual environment: ```bash source .venv/bin/activate ``` ## Test Execution **IMPORTANT**: Run all tests sequentially using `-n 0` to avoid test conflicts. The default pytest config uses parallel execution (`-n auto`), but this can cause race conditions and shared state issues between tests. ### Step 0: Run Lint and Type Checks Run lint and type checks across the full codebase before running tests. **0a. Ruff auto-fix:** ```bash ruff check --fix reflexio/ ruff format reflexio/ ``` **0b. Ruff remaining errors:** ```bash ruff check reflexio/ ``...

Details

Author
ReflexioAI
Repository
ReflexioAI/claude-smart
Created
1 months ago
Last Updated
yesterday
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category