.claude/skills/test-acceptance/SKILL.md
Run acceptance tests (backend API or frontend UI). Use when user wants to run E2E acceptance tests or mentions /test-acceptance command.
npx skillsauth add rakovi4/continue-example test-acceptanceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Read ports from infrastructure/.env and verify required services are up before running tests.
Check the health endpoint (see technology.md Conventions table for path):
source infrastructure/.env && curl -s -o /dev/null -w "%{http_code}" http://localhost:$BACKEND_PORT{health_endpoint} 2>/dev/null || echo "UNAVAILABLE"
200 → OK.UNAVAILABLE or non-200 → start backend first: Skill tool: skill="run-backend". Wait for startup.frontend or a frontend test class)source infrastructure/.env && curl -s -o /dev/null -w "%{http_code}" http://localhost:$FRONTEND_PORT 2>/dev/null || echo "UNAVAILABLE"
200 → OK.UNAVAILABLE or non-200 → start frontend first: Skill tool: skill="run-frontend". Wait for startup.Run via script (loads ports from .env).
infrastructure/scripts/test-acceptance.sh
With arguments:
backend → runs all backendTestbackend {ClassName} → runs only backendTest --tests "*{ClassName}*"frontend → runs all frontendTestfrontend {ClassName} → runs only frontendTest --tests "*{ClassName}*"{ClassName} → runs test --tests "*{ClassName}*"Always pass the test class name when running a specific test — never run the full suite just to check one test. The full suite takes ~14 minutes.
Follow tdd-rules.md "Stop on first failure" protocol:
run_in_background: true — note the output file path from the result. Store SEEN=0 to track lines already shown.TOTAL=$(wc -l < "$OUTPUT" 2>/dev/null || echo 0) && sed -n "$((SEEN+1)),${TOTAL}p" "$OUTPUT" | grep -E "PASSED|FAILED|> Task|tests completed|BUILD|Results:|Tests run:" ; grep -c -E "BUILD SUCCESSFUL|BUILD FAILED" "$OUTPUT" 2>/dev/null && echo "DONE" || echo "RUNNING"
After each call: update SEEN, check if DONE, if still RUNNING wait ~5s then call again. Repeat until DONE or task completes.
CRITICAL: Each check must be a separate tool call so the user sees output immediately.TaskStop), read stack trace from the output file, investigate root cause. Do NOT collect further failures.
WebDriverException, Connection reset) → re-check backend/frontend health.Report the test results from output. Always include pass/fail counts.
testing
Run use-case module tests quickly. Use when user wants to run use-case tests or mentions /test-usecase command.
development
Generate BDD test specifications for story in 6 categories (API, UI, Load, Infrastructure, Security, Integration). Use when user wants to create test cases or mentions /test-spec command.
testing
Review tests to replace loose validation (contains, isNotNull, isNotEmpty) with strict validation (isEqualTo on parsed fields). Use when user wants to improve test assertions or mentions /test-review command.
development
Run frontend tests. Use when user wants to run frontend unit tests or mentions /test-frontend command.