-
Core Java
More compact Mockito with Java 8, lambda expressions and Mockito-Java8 add-ons
Mockito-Java8 is a set of Mockito add-ons leveraging Java 8 and lambda expressions to make mocking with Mockito even more…
Read More » -
Core Java
Automatic promotion of artifacts to Maven Central from Gradle
Quick tutorial how to promote/release artifacts in a Gradle project to Maven Central, without clicking in the Nexus GUI with…
Read More » -
Groovy
Spock 1.0 with Groovy 2.4 configuration comparison in Maven and Gradle
Quick tutorial how to configure Spock 1.0 with Groovy 2.4 using Maven and Gradle. Spock 1.0 has been finally released.…
Read More » -
Core Java
Using AssertJ and Awaitility together thanks to Java 8 and lambdas
AssertJ and Awaitility are two of my favorites tools using in automatic code testing. Unfortunately until recently it was not…
Read More » -
Enterprise Java
Mockito – Better error messages on NPE with globally configured SmartNull
Writing the Mockito reference card I had an opportunity to take a closer look at the less popular, but very…
Read More » -
Enterprise Java
Better looking HTML test reports for TestNG with ReportNG – Maven guide
TestNG is a testing framework created as an annotation driven alternative for JUnit 3 in times when “extends TestCase” was…
Read More » -
Enterprise Java
TestNG and Maven configuration guide
To be useful automatic tests should run very fast. Otherwise will not be run often during development or even will…
Read More » -
Enterprise Java
Introduction to mutation testing with PIT and TestNG
Mutation testing is a technique which allows to discover which parts of our code are not covered by tests. It…
Read More »