Test Smoke

Quick sanity check to verify basic functionality works. Run fastest tests first. Use when needing quick verification before deeper testing.

dhaupin Updated 16 repo stars

File contents

Test Smoke

Quick sanity check.

When To Use

  • Before commit
  • Pre-deploy check
  • Quick verification

What To Test

1. App Starts

curl -f http://localhost:3000/health || exit 1

2. API Responding

curl -f http://localhost:3000/api/version

3. Database Connected

psql -c "SELECT 1" || exit 1

Output

## Smoke Tests

| Check | Status |
|-------|--------|
| App starts | [PASS/FAIL] |
| API responds | [PASS/FAIL] |
| DB connected | [PASS/FAIL] |

### Time
< 30 seconds

Role: Smoke Tester
Input: Service
Output: Pass/Fail

dhaupin/vant commit 289abb069b

Frequently asked questions

npx get-skill add dhaupin/test-smoke