testing-test-writing
Testing and test writing standards for stock_picker_bot using pytest. Covers unit tests for API endpoints, database operations, data processing, and integration tests.
SKILL.md.claude/skills/testing-test-writing/SKILL.md
GitHubTesting Test Writing
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to testing in the stock_picker_bot project.
When to use this skill
Use this skill when:
- Writing unit tests for FastAPI endpoints with TestClient
- Testing SQLAlchemy model definitions and database operations
- Writing fixtures for test databases and sample stock data
- Testing data validation with Pydantic models
- Testing pandas/numpy data processing for stock analysis
- Writing integration tests for yfinance data fetching
- Testing error handling and exception scenarios
- Writing tests for LLM API integrations and mocking external API calls
Instructions
For details, refer to the information provided in this file: testing test writing