rest-assured

Logging to Disk with REST Assured

Posted on

A common question that pops up now and again is how to configure REST Assured logs to be written to disk instead of printed to the console. The intention of this blog post is to demonstrate how this can be achieved. But first let’s look at how to use logging in REST Assured: Logging to […]

java

A case for PowerMock?

Posted on

PowerMock is well-known in the Java community and it’s one of these libraries people have a love-hate relationship with. It’s technically quite complex with custom classloaders, agents, byte-code manipulation and deep integration with test and mock frameworks. Even though I was a part of founding the library (which is now mainly being maintained by the […]

clojure

Reflections on Software Simplicity

Posted on

One of my favorite tech talks of all times is Simple Made Easy by Rich Hickey (the founder of the Clojure programming language). In this talk Rich explains the difference between the often confused terms “simple” and “easy” in the domain of software. Simple in this context means that there is no interleaving of different […]

awaitility

Non-fixed poll intervals in Awaitility

Posted on

I just released Awaitility 1.7.0 and one of the big new features is the ability to use non-fixed poll intervals. A poll interval tells Awaitility how often it should evaluate the condition that is supplied to the until method. Previously you could only specify a poll interval at a fixed rate like this: with().pollInterval(150, TimeUnit.MILLISECONDS). […]

clojure

Porting Frege FizzBuzz solution to Clojure

Posted on

Yesterday I saw an interesting presentation from Devoxx by Dierk K├Ânig called Frege, a Haskell for the JVM. I think he did quite a good job of bringing forth some of the benefits of functional programming and pure functions. Especially in his last example where he was demonstrating his way of solving the FizzBuzz problem […]