-
Core Java

Modern TDD-oriented Java 8 JUnit test template for Idea (with Mockito and AssertJ)
Tune up your JUnit test class template for Idea with the BDD-like syntax, Java 8 and the Mockito-AssertJ duo. Topics…
Read More » -
Core Java

Importance of given-when-then in unit tests and TDD
Recently, I’ve been writing rather about more advanced concepts related to automatic testing (mostly related to Spock). However, conducting my…
Read More » -
Core Java

Gradle tricks – display buildscript dependencies
The simply way how buildscript dependencies (e.g. plugins) can be displayed and analyzed in Gradle Introduction This is the third…
Read More » -
Core Java

Better dealing with “Could not find property X on plugin Y” in Gradle 2.13
Missing username, password or token to a service you may have never heard of? It usually happens when you try…
Read More » -
Core Java

Parallel execution of blocking tasks with RxJava and Completable
” How parallel execution of blocking “side-effect only” (aka void) tasks became easier with Completable abstraction introduced in RxJava 1.1.1.…
Read More » -
Core Java

Using Mockito without static imports with Java 8
How to simplify Mockito usage by removing static imports in Java 8 based projects. Rationale Mockito API is based on…
Read More » -
Enterprise Java

Simpler handling of asynchronous transaction bound events in Spring 4.2
Introduction As you probably already know (e.g. from my previous blog post) it is no longer needed to create a…
Read More » -
Enterprise Java

Annotation-driven event listeners in Spring 4.2
Introduction Exchanging events within the application has become indispensable part of many applications and thankfully Spring provides a complete infrastructure…
Read More » -
Enterprise Java

Deploy to Maven Central using API key (aka auth token)
How to communicate with Maven Central/Nexus without using the password kept locally unencrypted (especially with Gradle, but not limited to…
Read More »





