What problem does it solve?
Writing comprehensive unit tests after every change is tedious and error-prone. test-writer automates the creation of well-structured tests for functions and classes, enabling fast, reliable test coverage.
Core Features & Use Cases
- Analyzes a function or class to identify relevant test cases, including edge cases and error conditions.
- Generates test files that follow the AAA pattern and support multiple frameworks (pytest, unittest, jest).
- Creates scaffolding for fixtures, mocks, and parameterized tests, accelerating regression testing across projects.
- Use Cases: after implementing a new function, refactoring a class, or kicking off testing in a new module, generate a complete test suite that is ready for refinement.
Quick Start
Generate a complete test suite for the specified module using the AAA pattern and a selected framework (pytest, unittest, or jest).