Devops, Agile, Method. & TestsConference50min
Generate synthetic data like a boss!
This presentation explores improving test data creation using open-source libraries. It covers transitioning from hardcoded data to an online data generation platform and introduces two libraries for generating random values in unit tests. The session concludes with a self-developed extension library that reduces boilerplate code, enhancing code and test quality.
Wouter BauweraertsThe Beehive
talkDetail.whenAndWhere
Friday, June 20, 14:45-15:35
Main Room
As a developer we know that testing is very important, but creating good test data can be very hard! However, if you don't have good test data, you can never have good tests!
Over the past few years, I have been using some open-source libraries that can help you improve the way you create your test data. During this presentation, I will take you on a journey through time, demonstrating how I used to create my test data.
We will start with hardcoded data in our tests, something I believe we should always try to avoid! Our next stop is an online data generation platform that provides us with randomized and realistic data, especially useful when writing integration tests!
This just isn't enough yet. I will introduce you to two more open-source libraries that can be used to generate random values in your unit tests with minimal effort! I'll demonstrate them both, which allows us to compare their strengths and weaknesses.
Finally, I'll conclude my presentation with a brief demonstration of an extension library I created myself to eliminate most of the boilerplate code that we needed before to have enough flexibility to create data with some specific values.
This presentation will guide you to a new way of creating test data, which helps you to skyrocket both the quality of your code and your tests!
Over the past few years, I have been using some open-source libraries that can help you improve the way you create your test data. During this presentation, I will take you on a journey through time, demonstrating how I used to create my test data.
We will start with hardcoded data in our tests, something I believe we should always try to avoid! Our next stop is an online data generation platform that provides us with randomized and realistic data, especially useful when writing integration tests!
This just isn't enough yet. I will introduce you to two more open-source libraries that can be used to generate random values in your unit tests with minimal effort! I'll demonstrate them both, which allows us to compare their strengths and weaknesses.
Finally, I'll conclude my presentation with a brief demonstration of an extension library I created myself to eliminate most of the boilerplate code that we needed before to have enough flexibility to create data with some specific values.
This presentation will guide you to a new way of creating test data, which helps you to skyrocket both the quality of your code and your tests!
Wouter Bauweraerts
Wouter is a passionate Java developer working at The Beehive. As a full-stack developer, he excels at solving complex problems efficiently and always focuses on quality. He is known for his creativity and forward-thinking.
He enjoys experimenting with new frameworks and technologies to make the best decisions for future projects. Wouter also started working on a few open-source projects to simplify testing Java applications.
Beyond coding, Wouter is dedicated to coaching and mentoring his colleagues. He helps them improve by discussing project challenges and opportunities.
In the past, Wouter has also taught programming courses at Karel de Grote Community College in Antwerp. His practical experience and love for learning make him a valuable asset to his team and the IT community.
He enjoys experimenting with new frameworks and technologies to make the best decisions for future projects. Wouter also started working on a few open-source projects to simplify testing Java applications.
Beyond coding, Wouter is dedicated to coaching and mentoring his colleagues. He helps them improve by discussing project challenges and opportunities.
In the past, Wouter has also taught programming courses at Karel de Grote Community College in Antwerp. His practical experience and love for learning make him a valuable asset to his team and the IT community.
comments.speakerNotEnabledComments