Improving design and code quality with Property-based testing
A suite of traditional unit tests will only be as strong as the possible arguments or parameters tested against your code. We want our unit tests to also serve as living documentation so they should be comprehensible and to the point. In property-based testing, we randomly generate data points within the boundary of a property to verify the property’s behaviour. In this technical session, Kenny & João demonstrates and explains what property-based testing is, and how to implement it, so you don’t have to worry much about test data anymore, but more about the problem your code is solving.
Kenny Baas-Schwegler is a software engineer and consultant focusing on building quality into software delivery at Xebia. He mentors, coaches and consults teams by using practices techniques and tools from Domain Driven Design, Behaviour Driven Development, Test Driven Development, and Continuous Delivery. Through Aikido training he learned the most efficient way to work together. To get the outcome that all parties want, energy should not be blocked but should be bent and influenced. The philosophy behind this line of reasoning is not only embedded in his personal life, but also in his work
João Rosa is a Software Developer working as Consultant at Xebia, focused on delivering quality software that matters. Believes in the software crafts to provide software in sustainable peace; he is a DDD, BDD and TDD practitioner. Can’t live without his CI/CD pipeline. During his career he always pushed the teams and himself to improve the communication, reducing the gap between developers and the business. When he is not on his duties, you can find him travelling with his wife, or laying down on the beach reading a book. João is an amateur cook in his remaining time.