What problem does it solve?
Scaffolds pytest-based tests for a pyarnes-based project that ships without a tests/ directory, enabling developers to quickly bootstrap unit tests and BDD features while preserving pyarnes conventions (async-first, Red → Green → Refactor, and loguru-based logging in tests).
Core Features & Use Cases
- Bootstrap a tests tree on first use:
tests/, tests/init.py, tests/conftest.py, and tests/unit/ with an initial test file
- BDD scaffolding: create tests/features/ with feature files and steps
- Unit-test skeleton: generate tests/unit/test_<target>.py that follows async-first patterns and dataclass fakes, mirroring pyarnes testing conventions
- Enforce conventions: maintain pyarnes-style workflows (Arrange → Act → Assert, hypothesis usage where appropriate)
Quick Start
Run the test task to execute the new test scaffold and begin the red–green–refactor workflow.