Fairies, Fakers and Factories - Boost Your Tests with Better Test Data
Offered By: Devoxx via YouTube
Course Description
Overview
Discover how to enhance your testing process with better test data in this 26-minute Devoxx conference talk. Learn techniques to generate representative and randomized test data using tools like Java Faker and jFairy. Explore the benefits of creating test data factories to improve productivity and focus on writing meaningful tests. Gain insights into handling different data formats, preventing collisions, and addressing security and privacy concerns. Follow along as the speaker demonstrates practical examples using EasyRandom, DataFaker, and JayFerry, comparing their features and use cases. Understand how to implement these concepts in real-world scenarios, such as building a webshop for board games. By the end of this talk, you'll be equipped with strategies to overcome "desert blindness" in test data creation and streamline your testing workflow.
Syllabus
Intro
A new day
Create a unit test
Meet Jaap
Unit test
Representative test data
Randomize data
What is randomized data
Desert blindness
Different test data
Security and privacy
Data formats
Prevent collisions
Randomize test data
Automation
EasyRandom
EasyRandom example
DataFaker
JayFerry
Code
Comparison
Fakers
Test Data Factories
Make you more productive
A webshop for board games
Builder or dedicated builder
Conclusion
Taught by
Devoxx
Related Courses
Play by Play: Developing Microservices and Mobile Apps with JHipsterPluralsight Software Archaeology - Learning from the Landing on the Moon
Devoxx via YouTube Create an Eco-Friendly World with Green Software Engineering
Devoxx via YouTube Platform Building for Data Mesh - Show Me How It Is Done
Devoxx via YouTube The Hitchhiker's Guide to Software Architecture and Design
Devoxx via YouTube