ci-tests

Solid

Run the test suite for the current repo, auto-detecting Python (pytest/uv), Node (vitest/pnpm), or Rust (cargo test)

AI & Automation 4,957 stars 661 forks Updated today CC-BY-SA-4.0

Install

View on GitHub

Quality Score: 94/100

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

Skill Content

# /ci:tests: Run tests Detects the stack and runs tests with the right command. ## Stack detection ```bash if [ -f "uv.lock" ]; then STACK="python" elif [ -f "pnpm-lock.yaml" ] || [ -f "package.json" ]; then STACK="node" elif [ -f "Cargo.toml" ]; then STACK="rust" else STACK="unknown" fi ``` ## Commands by stack ### Python (uv + pytest) ```bash # All tests uv run pytest --tb=short -q $ARGUMENTS # With coverage uv run pytest --cov=src --cov-report=term-missing -q # Specific file or folder uv run pytest $ARGUMENTS -v ``` ### Node (pnpm + vitest) ```bash # All tests pnpm vitest run $ARGUMENTS # With coverage pnpm vitest run --coverage # Watch mode (dev) pnpm vitest ``` ### Node (npm + jest) ```bash npm test -- --passWithNoTests $ARGUMENTS ``` ### Rust (cargo) ```bash cargo test --quiet $ARGUMENTS 2>&1 ``` ## Expected output ``` Tests: my-api (Python/pytest) ─────────────────────────────── uv run pytest --tb=short -q [pytest output] ✅ 42 passed in 3.1s → Ready to push ``` On failure: ``` ❌ 2 failed FAILED tests/test_billing.py::TestInvoice::test_promo_expired AssertionError: expected discount=0, got discount=10 → Fix before pushing. ``` ## Usage ``` /ci:tests /ci:tests tests/test_orders.py /ci:tests src/components/Button.test.tsx ``` Target: $ARGUMENTS

Details

Author
FlorianBruniaux
Repository
FlorianBruniaux/claude-code-ultimate-guide
Created
5 months ago
Last Updated
today
Language
Python
License
CC-BY-SA-4.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category