mcpField
R
run-smoke-tests

run-smoke-tests

github.com/cursorTesting & quality14.5k2.2k installsUpdated today
Repository

About run-smoke-tests

A coding skill for running end-to-end smoke tests before or after changes. It guides test selection, failure investigation, minimal fixes, and reruns to check stability.

Key features

  1. 01Build app prerequisites
  2. 02Run full or focused smoke tests
  3. 03Inspect traces and logs
  4. 04Apply minimal fixes and rerun
  5. 05Reduce flaky test results

Use cases

  1. 01Verify an app end to end
  2. 02Investigate smoke-test failures
  3. 03Check a fix with repeated runs

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/cursor/plugins --skill run-smoke-tests

After installing, type/run-smoke-testsin Claude Code to confirm it loaded.

Details

From the project README

Run smoke tests

Trigger

Need end-to-end smoke verification before or after changes.

Workflow

  1. Build prerequisites for the target app.
  2. Run the relevant smoke suite or a focused test file.
  3. If failing, inspect traces/logs and isolate the root cause.
  4. Apply a minimal fix and rerun until stable.

Example Commands

# Run full smoke suite
npm run smoketest

# Run a specific smoke test file
npm run smoketest -- path/to/test.spec.ts

# Faster iteration when build artifacts are ready
npm run smoketest-no-compile -- path/to/test.spec.ts

Guardrails

  • Prefer deterministic waits and assertions over brittle timeouts.
  • Re-run passing fixes to reduce flaky false positives.
  • Quarantine tests only when explicitly requested and documented.

Output

  • Test results summary
  • Root cause and fix
  • Remaining flake risk (if any)

Comments

Markdown supported