SAFE TESTING

Document generator: useful data, unmistakably fictional

A document generator can mean anything from a report builder to a tool promising identification. FakeKit's scope is narrower: plain fictional records for software you are authorized to test.

Pick a scenario before generating data

Four fixtures with different testing purposes
ScenarioWhat changesWhat to assert
StandardRequired fields are populatedThe form accepts the configured schema
Missing fieldThe sample person's name is emptyThe relevant required-field message appears
ExpiredExpiry is fixed at 2000-01-01Your expiry rule rejects the record
Date orderIssue date follows expiryYour date-order rule catches the contradiction

An ID card generator or driving license generator is often unnecessary for a QA task. You can test those forms with the same fictional record schema and a documentKind field. The driving-license record adds a TEST-CLASS category and FICTIONAL jurisdiction; it does not represent an actual license entitlement.

Use the fixture in a bounded workflow

  1. Keep the test-data utility in a development or sandbox workflow.
  2. Choose the record type and the one failure case you intend to exercise.
  3. Export JSON if you need the nested record-type fields; use CSV for the shared flat fields.
  4. Write the expected application behavior alongside the dataset.
  5. Remove test records before connecting a demonstration to production services.

Standard here means the common fixture fields are populated. It does not mean the record is a valid government identity, nor that it complies with a real issuer's schema. The fixture validator checks FakeKit's test schema only.