Category: Open Source

A Groovy DSL for the Creation of Test Data using JPA

With the automated integrative testing of software that works with a complex JPA data model, it is invariably the case that sooner or later, one will face the question of how it is possible to create semantically meaningful test data without great cost. This article shows how Groovy can be used in order to define a Domain Specific Language (DSL) that enables test data to be defined so that it is easily readable, modular and separate from the actual test code.ieren.

The Jugend Hackt Nord hackathon weekend for youngsters

Last weekend, some hacking took place – and northern Germany was hit. From Friday to Sunday, the betahaus in Hamburg was home to the Jugend Hackt Hamburg (youngsters’ hackathon) event, which I attended as a mentor for the third time.

Static code analysis with SonarQube

This article describes which key figures can be collected by a static analysis and how these can be interpreted. The main focus is on technical debt and complexity.

Version names with Maven: Reading the version name

The first article in this series – “Version names with Maven: Creating the version name” –shows how during the build, and with Maven’s help, a version number, enriched with further information can be written into a manifest, properties or HTML file. Based on the first article, this second one describes how it can be read from within the application. This is helpful in many cases: You can immediately see which version is deployed on which stage, the version information can avoid misunderstandings in error reports, etc.