my blog. for you.

Reden wir über Digitales.

Ich bin selbständiger IT Berater und Unternehmer in der Internet und Software Branche. Ich beschäftige mich mit Design, Enterprise Applikationen, Web Apps und SaaS Produkten. Ich entwerfe und entwickle Business Lösungen und Anwendungen. Ich helfe Unternehmen in Sachen Software Qualität und Wissenstransfer, z.B. mit Angular und Spring Boot.

(English) Using Maven Failsafe With Spring Boot

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Maven Failsafe is a Maven plugin designed to be used in conjunction with the Maven Surefire Plugin. While the former plugin is intended for running integration tests the latter's purpose is to run unit tests. These plugins are tremendously useful for partitioning tests in Maven-based Java applications in order to make tests and builds run faster. When recently using Maven Failsafe with a Spring Boot application, though, I encountered a somewhat gnarly problem. Running mvn ... Read more

(English) A Guide to Refactoring Large Functions by Robert Muth

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Software Engineer Robert Muth wrote this interesting article on refactoring large functions. The article starts with providing ample motivation for using functions (or methods in a strictly object-oriented context). Apart from making code shareable and reusable, which is only a minor benefit of functions / methods, reasons for writing code as functions are: giving a meaningful name to several lines of related code readability limiting visibility lowering indentation levels improving testability The article goes on to describe several common cues ... Read more

(English) Kent Beck’s Novel Approach to Software Quality: test && commit || revert

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.In a Hanselminutes episode from December last year I heard preeminent programmer and agile advocate Kent Beck talk about his intriguing approach to creating working, high-quality code. In line with the steps this approach involves he calls it test && commit || revert. In lieu of the TDD circle of life (write test - test fails - write code - test passes - refactor - test fails ...) test && commit || revert has ... Read more

Test-driven Development (TDD) mit Angular 2 / 4

Vor kurzem habe ich zusammen mit Jan Massenberg von Setlog einen Vortrag über Test-driven development (TDD) mit Angular beim 2. Angular Ruhr Meetup gehalten. Aktuell unterstütze ich die Setlog GmbH bei der Verbesserung der Software Qualität und insbesondere bei der Entwicklung eines SaaS Tools, das Qualitätssicherungsprozesse (QA) im Supply Chain Management vereinfacht. Der Vortrag handelte von praktischen Erfahrungen mit TDD bei der Implementierung dieses SaaS Tools. Dieser Artikel fasst die wesentlichen Aspekte des Vortrags zusammen und beschreibt verschiedene Bestandteile eines Test-driven Design- und Entwickungsprozesses: ... Read more

(English) Testing REST Services with REST Assured

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.RESTful service testing can be unwieldy and difficult to get started with. Providing a REST API implies using a variety of technologies and techniques such as HTTP, JSON, authentication, various payload transfer mechanisms and content types. This is where a tool that abstracts over these technical details and facilitates their application comes in handy. REST Assured is a high-level DSL for testing REST APIs. It draws upon behaviour-driven development (BDD) and hence makes ... Read more

(English) Mockito 2 now available

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Last week version 2.1.0 of the Mockito testing framework for Java has been released. For more information on this latest iteration check out this page. As the name suggests, Mockito allows you to mock object behaviour during unit tests. When writing unit tests you only want to test a particular unit's behaviour (hence the name). Depending on the programming language used such a unit might be a function, a procedure or - most ... Read more

Libraries.io and Dependency CI: Open Source Library Discovery and Dependency QA

Recently, I came across Libraries.io and its companion service Dependency CI. Libraries.io is an open source library catalogue that helps you find new libraries and keep track of the ones you already use in your projects. Once set up with a GitHub project, the service monitors the repository and notifies you in case there's a new version of a dependency available. Building upon this, Dependency CI is a continuous integration service that offers 'automatic compliance testing for all of the dependencies in your ... Read more

(English) Varying Degrees Of Software Quality And What To Do About It

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.When working on client projects I come across copious amounts of source code, which sometimes is very well-maintained, sometimes less so. The various code bases are as diverse as their owners and respective stakeholders: A few come with an inherent sense of quality, lots of unit tests serving as the specification for the product. They're typically delightful to maintain and extend. Some though at times leave the impression of having been cobbled together in a ... Read more