Java

Combining Object Mother and Fluent Builder for the Ultimate Test Data Factory

To test our business code we always need some kind of test data. This tutorial explains how to do just that with the Object Mother pattern and why we should combine it with a Fluent Builder to create test data factories that are fun to work with.

Read more

How to Configure a Human-Readable Logging Format with Logback and Descriptive Logger

In a previous Tip, I proposed to use a human-readable logging format so that we can quickly scan a log to find the information we need.

Read more

A Fully Automated Open Source Release Chain with Gradle and Travis CI

“Release early, release often”. This philosophy should be a goal for every software project. Users can only give quality feedback when they have early access to a software release.

Read more

Publishing Open Source Snapshots with Gradle

One of the most fulfilling things in developing an open source project is getting feedback from the users of your project.

Read more

Publishing Open Source Releases with Gradle

When working on an open source Java project, you always come to the point where you want to share your work with the developer community (at least that should be the goal).

Read more

Lazy Evaluation of Gradle Properties

Writing Gradle build tasks is often easy and straight forward, but as soon as you start to write more generic tasks for multiple modules or projects it can get a little tricky.

Read more