Whether you write your tests up front or after the fact, you've probably found yourself in this situation: You know exactly what you want to test and how you're going to approach it, but you suffer from a massive lack of inspiration when you try to define your test data. Eventually you end up with "Test User", "Jane Doe" and "Product123". This is both frustrating and ineffective. Coming up with good test data over and over again can be mind numbing and the result is mostly not representative for the data that will actually flow through your system. So how can you improve this? Is there a way you can easily generate good test data and at the same time reduce the burden of creating test data over and over again? Yes you can! In this session I will show you how you can use test data generators like Java Faker and jFairy to create test data factories that help you improve the quality of your test data. I will show how this can massively improve your productivity when writing tests, because it helps you to focus on what really matters: the tests themselves. JAAP COOMANS Jaap is a Java and Kotlin developer with 15 years of experience in Java development as a consultant in various industries. He's passionate about the JVM ecosystem and Open Source technology. Jaap loves it when architecture and hands-on software development come together. Outside IT he loves playing board-games and drinking craft beer with friends and colleagues. ------------------------------------------------------------ INTRO * visuals & editing by @Mercator * music : Avocado by Ephixa
Get notified about new features and conference additions.