Integration tests
Tests for a module’s entry layer (HTTP, GraphQL, gRPC, events, CLI…) against a real test database.
Command: /sf:backend-tests · Methodology: Is2Be Software · Phase: Phase 5 · Testing
When to use it
Section titled “When to use it”When writing or changing a module’s entry layer, with any interface type.
It’s working if
Section titled “It’s working if”- They cover success responses, errors and permissions, adapted to the interface type.
- Each test isolates its data.
- They test the PRD’s guards and validations.
Where it fits
Section titled “Where it fits”- Before: Unit tests
- After: E2E tests
Requirements
Section titled “Requirements”-
Your AI connected to the service with your licence key (how to connect).
-
The project set up once with
/sf:setup. -
The outputs of the previous steps (see Where it fits).