A Cookbook for Testing Data
summary
Practical guidance for testing data advocates generating fresh test data near test execution rather than using old dumps, and recommends marking and cleaning up generated rows after runs. Use focused assertions plus guard assertions (schema checks) for uncontrolled fields, watch for time-dependence (e.g., surge coefficients) that break tests, and build data with factories like factory_boy or Fixture Factory using domain-aware randoms (digits, hyphens, non-Latin) so edge cases appear predictably.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:20Test data matters
- 3:52Fresh test data
- 8:50Data near usage site
- 10:40Data structure like recipe
- 12:04String randomization issues
- 17:52Data combination randomization
- 19:24Negative tests and field combos
- 23:01Over-checking consequences
- 26:58Formal checks and boundaries
- 30:29Cleanup after tests
- 31:55Test data tools
- 34:44Summary and tips
- 35:28Q&A
related talks
49mManaging Testing Data
47mManaging Testing Data
29mManaging the Test Data Nightmare
23mCreating data for Functional Tests with the Test Data Builder Pattern
24mModernising J-Unit with Test Data Generators
44mBro, Manage Test Data Like a Pro!
29mManaging the Test Data Nightmare
47mTest Data Key to Effective Test Coverage
