Managing Testing Data
summary
Shows a reproducible Test Data Factory that combines Builder + factory methods with Data Faker to produce localized, readable fields instead of hardcoded UUIDs, and demonstrates integration tests using RestAssured that log concrete inputs so bugs are traceable. Presents five JUnit 5 data driven patterns: ValueSource, internal and external MethodSource, ArgumentProvider and CSV source, and builds an ArgumentProvider that pairs invalid payloads with expected error keys and messages. Demonstrates a flaky email case uncovered by randomized data and shows how the approach reduces duplication and speeds debugging.
AI-written summary · about
chapters (9)
- 0:00Introduction to talk
- 1:05What is managing test data
- 7:45Builder and factory patterns
- 14:19Introducing Data Faker
- 22:15Handling data requirements
- 27:42JUnit data-driven tests
- 37:02Data-driven test benefits
- 40:58Integration test demo
- 48:30Q&A and resources
related talks
47mManaging Testing Data
23mCreating data for Functional Tests with the Test Data Builder Pattern
41mA Cookbook for Testing Data
24mModernising J-Unit with Test Data Generators
47mHow to Manage Your Test Data for Successful Test Automation
29mManaging the Test Data Nightmare
44mBro, Manage Test Data Like a Pro!
47mFrom Bugs to Brilliance: Testing Toolbox in Action
