Test Changes Skill
Workflow
- •
Run All Tests
bashcargo test 2>&1
- •
If Tests Fail
- •Analyze the failure output
- •Identify the root cause
- •Fix the failing code
- •Re-run tests to verify
- •
Run Clippy for Additional Checks
bashcargo clippy --all-targets --all-features -- -D warnings 2>&1
- •
Report Results
- •Number of tests passed/failed
- •Any warnings from clippy
- •Summary of fixes made (if any)
Expected Output
code
## Test Results ### Summary - Tests: X passed, Y failed - Clippy: Z warnings ### Failed Tests (if any) - `test_name`: Brief description of failure and fix ### Actions Taken - [List of fixes applied] ### Status: PASS/FAIL
Notes
- •Tests require DynamoDB Local running on
http://dynamodb-local:8000 - •If DynamoDB connection fails, suggest starting the container:
bash
docker compose -f .devcontainer/docker-compose.yaml up -d dynamodb-local