| name | test |
| description | Run code quality checks and tests for the argo-trading project. Use this skill when: (1) User asks to test the code or run tests, (2) User asks to lint or check code quality, (3) User wants to verify code changes work correctly, (4) User says "/test" or asks to run the test suite. |
Test
Run linting and tests to ensure code quality.
Workflow
- Run linting with
make lint
- Run tests with
make test
- Report results and fix any issues found
Commands
Lint
make lint
Runs golangci-lint run ./... to check for code quality issues.
Test
make test
Runs go test ./... to execute all tests.
Full Quality Check
Run both commands sequentially:
make lint && make test
Handling Failures
- Lint failures: Fix the reported issues before proceeding
- Test failures: Investigate failing tests, check error messages, and fix the underlying issues
- Report a summary of results to the user