99 Minute Workshop
-

Property-based Testing in Java

with Mike Solomon

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.

In this workshop, we'll learn how to use jqwik along with JUnit to write property-based tests for Java applications.  We will start with basic property-based tests and work our way up to generating data that can be used to test a Spring Boot server.

This workshop has been designed to be attended live. If you can’t make the scheduled time, it will stay available to replay in CrowdCast for 7 days. To get the most out of it, we highly recommend you attend it live!

Pre-Requisites

A Java development environment:

  • Some form of the JDK/JRE.
  • An editor where Java projects can be compiled. For example, IntelliJ.

If you are working in Java every day, this should be on your work computer already, but if not, you'll want to get this set up. The easiest way is installing IntelliJ and compiling one of their template projects. If you can do this, then you'll be able to compile everything from the workshop.

A GitHub account.

The entire workshop will be done through pull requests to GitHub, so you will need to frequently make PRs and pull the most recent changes from a repo.

Your Instructor

Mike Solomon

Mike Solomon

CEO

I'm the founder of Meeshkan, a smöl company that helps devs and QA engineers test GraphQL and REST APIs.

What are 99 Minute Workshops?

  • Instructor-led
  • Short
  • Targeted
  • Outcomes-based
  • Learn live with others
  • Convenient
  • Included in Pro

    More Details

Transparent MoT Logo