Skip to main content

Factories And Seeds

Factories and seeds are part of the test and scenario workflow.

What factories are for

Factories are used for:
  • seed generation
  • scenario generation
  • test fixtures
  • runtime demo and validation flows
They are not the primary public CRUD surface.

Typical commands

What should be validated

  • factory registration
  • generated seed output
  • graph/status output
  • test-targeted paths under src/test
  • driver-targeted seed behavior for SQL and Mongo flows

Factory and seed tests usually matter when

  • model schema changed
  • seed output changed
  • scenario generation changed
  • factory registration or import behavior changed