Scenarios
Scenarios are coordinated artifact and runtime flows. They are heavier than single-model tests and should be used when you need end-to-end proof.What scenarios cover
- coordinated model generation
- services and controllers generated together
- migration generation
- factory generation
- seeders
- demo flows
Typical commands
When to use scenario tests
- generated artifact sets changed together
- relations or preset flows changed
- SQL and Mongo parity must be validated
- demo output and scenario seed paths changed
Scenario test layers
- generator integration tests
- scenario lifecycle integration tests
- runtime scenario persistence tests
- generated REST API matrix tests over SQL drivers
- demo and factory-status validation
- tarball smoke for real-package behavior
Real REST API matrix
For a real-time validation pass, generate the blog scenario with controllers and services, then bind the generated controllers into an Express app and exercise HTTP CRUD. Execution order:- PostgreSQL
- MySQL
- SQLite
GET /usersPOST /usersGET /users/:idPUT /users/:idGET /postsPOST /postsGET /posts/:idPUT /posts/:idDELETE /posts/:id