Automation

Write Tests

AuthorPromptraft
Added2026-03-27
CategoryAutomation

Generate comprehensive unit and integration tests (Jest, PyTest, etc.).

#Workflow#Automation
Full PromptView Source ↗
1. Analyze the logic of the provided functions or components.
2. Write unit tests covering the standard "happy path".
3. Write edge-case and failure-state tests with appropriate mocks/stubs.
4. Ensure the output utilizes best practices for the target testing framework.