Docker in Docker with Jenkins and Supervisord
I've been searching for a way to host Jenkins in a Docker container and inside this container also be able to run integration tests inside other Docker containers. This approach…
I've been searching for a way to host Jenkins in a Docker container and inside this container also be able to run integration tests inside other Docker containers. This approach…
PowerMock 1.6.0 was released a couple of days ago and the main new feature expect for better support for Mockito 1.10.x is the ability to combine the PowerMockRunner with another…
A couple of times in the recent past I've been exposed to the "Could not determine Java version" error message when opening a new Gradle project from IntelliJ. This happens…
10 months ago or so I wrote a blog post entitled Immutable List Collector in Java 8 (that probably should have been named "Unmodifiable List Collector in Java 8" to…
Last week I saw a core async webinar where David Nolen of Cognitect presented the use of core async with its channels and go blocks in a frontend application using…
Writing good tests is something that is important in virtually all software projects. In this blog we'll use Midje and Leiningen for integration testing. Midje is a test framework for…
It's often useful to have both an API and a website serving HTML in the same project. Compojure is a popular routing library in Clojure built on top of the…
When working with distributed systems it's important to take failure into account. The book Release It! is a great book for learning how to deal with some of these issues.…
Last week we visited the GeeCON conference in Krakow as speakers and participants. The event attracted some 1200 visitors according to the organizers, and it was located inside a cinema…
Awaitility is a library for Java (with extensions for Groovy and Scala) to test asynchonous systems. The 1.6.0 release introduces support for AssertJ assertions as well as better Java 8…
In virtually all projects you need to read properties from external sources such as a file. In many cases you also need to be able to override some properties when…
Today it's popular to embed containers such as Jetty into the application itself so that it's simple to start and distribute in, for example, a microservice architecture. But there are…
Apple decided to remove the Java Preferences application in a software update and afterwards in has been difficult to change the JDK version on Mac OS X. I especially noticed…
The REST Assured test library for Java was recently updated to version 2.2 and one of the new features is support for unit testing Spring MVC controllers using the new…
When exposing REST or HTTP based service APIs it's important to validate that the API behaves correctly and that the exposed data format is structured in an expected manner. Using…