What You'll Learn
By the end of this workshop you'll be able to:
- Define property-based testing.
- Execute a property-based test using jqwik.
- Create reports from jqwik tests.
- Run a property-based test against a SpringBoot server.
About This Workshop
If you are writing tests for a server and you have access to a spec like OpenAPI or other documentation, property-based testing can help you test thousands of potential outcomes for as much effort as, or less effort than, a traditional unit test suite. In this workshop, we'll learn how to use jqwik along with JUnit to write property-based test for a Spring Boot application. The knowledge you gain will help you make your tests more readable, more resilient, and more maintainable.