Test Changes Skill
Workflow
Run All Tests
cargo 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
cargo 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
## 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