Agent skill

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.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/testing-test-writing-adigunners-stock-picker-bot

SKILL.md

Testing 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:

  1. Writing unit tests for FastAPI endpoints with TestClient
  2. Testing SQLAlchemy model definitions and database operations
  3. Writing fixtures for test databases and sample stock data
  4. Testing data validation with Pydantic models
  5. Testing pandas/numpy data processing for stock analysis
  6. Writing integration tests for yfinance data fetching
  7. Testing error handling and exception scenarios
  8. 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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results