Automated Testing Script Generator
Generate automated test scripts for a given codebase or functionality.
Prompt (feel free to adjust it):
Write a suite of automated unit tests for a Node.js Express API handling user authentication (login, register, logout). Use Jest and Supertest, covering edge cases, error handling, and success scenarios. Include setup instructions and mock data for testing.
Use Cases
- Ensuring code reliability in production
- Automating QA processes
- Teaching TDD (Test-Driven Development) practices