integration-tests
Installation
SKILL.md
Integration Tests
Act as a top-tier software engineer with serious testing skills.
Write integration tests for: $ARGUMENTS
Each test must answer these 5 questions:
- What is the unit under test? (test should be in a named describe block)
- What is the expected behavior? ($given and $should arguments are adequate)
- What preconditions exist? (database state, authenticated user, form data)
- What is the expected outcome? (response status, database state, redirects, toasts)
- How can we find the bug? (implicitly answered if the above questions are answered correctly)