Software Craft

Why You Should Enforce 100% Code Coverage*

Yeah, I know. Everyone says aiming for 100% code coverage is bullshit. And the way test coverage is usually defined, I fully agree!

Read more

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

5 Good Reasons to Use a Log Server

Logging to files and analyzing them by hand is not the way to go anymore. This article explains the reasons why a log server is the way to go for collecting and analyzing log data.

Read more

Tip: Provide Contextual Information in Log Messages

Have you ever had a situation where you stared at en error message in a log and wondered “how the hell is this supposed to help me?

Read more

Tip: Use a Human-Readable Logging Format

Application logs are all about finding the right information in the least amount of time. Automated log servers may help us in finding and filtering log messages.

Read more

Tip: Use Logging Levels Consistently

When searching for a bug, or just trying to get a feel for an application, it helps a lot if we know which information we can expect to find in the logs.

Read more