
13/11 15:30HS @ Stream Rojo TRACK TESTING
Harnessing Randomness in Test Data Generation
Speaker: Andres Sacco
In this talk, you'll explore the challenges of managing test data in software development and how these tools provide a modern approach to overcoming them. We'll dive into Datafaker, a library that effortlessly generates realistic data, and Instancio, a powerful utility for creating complex object graphs with minimal effort. The session begins by discussing the limitations of traditional methods of creating test data, like static files or hardcoded values, and the risks they pose, including stale data and limited test coverage. Next, you'll see a demonstration of Datafaker's ability to generate diverse datasets, mimicking real-world scenarios with its extensive collection of fake data categories and Instancio's capacity to produce complete object hierarchies with custom configurations dynamically. The talk will conclude by discussing integrating these tools into your testing framework, practical examples, and best practices for maximizing their potential in unit tests.
