Property-Based Testing in Java with JUnit-Quickcheck – Part 2: Generators

In Part 1 of this tutorial we created a Property-based test (PBT) from a normal JUnit test with basic types. Now let us extend the domain object PostalParcel with a list of Products. All examples a… Read more

Similar

A First Look at Java Inline Classes

Java currently supports only two types of value: primitives and object references. Project Valhalla extends this by introducing inline classes which are a new form of type that exhibit some behaviors of both. These new types open the door to better alignm... (more…)

Read more »