Testing
Testing Semitexa PHP apps with payload contract tests: pin what each route accepts and returns, so a refactor or an AI edit fails fast.
-
Payload Contract Testing
Run one project-level contract suite through the test runner and let strategy profiles check payload boundaries without hand-written negative cases.
-
Test Data Factories
Build valid resource models for a test in one line with ResourceModelFactory — states, sequences, seeds, and persisted rows with their keys filled.
-
Requests and Fakes
Call your routes from a test with CallsRoutes, and replace events, outbound HTTP and mail with fakes that record what your code did.