testing
Installation
SKILL.md
Testing Standards
Framework
- Use pytest for all tests
- Target 80%+ code coverage
File Organization
- Tests in
tests/directory mirroringsrc/structure - Test files:
test_<module>.pyor<module>_test.py - Test functions:
test_<description>
Fixtures
- Use fixtures for reusable test data
- Prefer
scope="function"unless shared state is needed - Use
conftest.pyfor shared fixtures
Example:
import pytest
Related skills
More from meleantonio/chernycode
techdebt
Find and fix technical debt including duplicated code, dead code, outdated patterns, and code smells. Run at the end of sessions to clean up.
1git-workflow
Git workflow and commit conventions. Use when committing code, creating branches, or making pull requests.
1llm-development
LLM and ML development best practices with LangChain and transformers. Use when building AI/ML applications.
1code-simplifier
Simplify and clean up code after changes are complete. Reduces complexity, improves readability, and ensures consistency.
1code-style
Python code style and formatting standards using Ruff. Use when writing or reviewing Python code.
1commit-push-pr
Commit changes, push to remote, and create a pull request. Use for completing features or fixes ready for review.
1