-
Enterprise Java
Mocking Spring Security Context for Unit Testing
Today, while writing unit test case for one of the Java method which looks like below: public ApplicationUser getApplicationUser() { ApplicationUser…
Read More » -
Enterprise Java
Boosting test performance with TestContainers
In my previous post on testing, I described how to use TestContainers to provide realistic test environments for database tests.…
Read More » -
Android Core
Kotlin and Android: JetBrains and Google Behind One Language
Google I/O 2017 had several major announcements, but one of the most interesting to me is “first-class support for Kotlin”…
Read More » -
Software Development
Single Statement Unit Tests
Many articles and books have already been written about unit testing patterns and anti-patterns. I want to add one more…
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 » -
Agile
Sprint Cadence at scale
A system called ‘Scrum’ Scrum is founded on empirical process theory. Scrum implements regular inspections and adaptations in a closed-loop…
Read More » -
Core Java
JVM Statistics with jstat
I have written about several command-line tools provided with the Oracle and/or OpenJDK Java Development Kits (JDKs) in the past,…
Read More » -
Enterprise Java
Handling Events in React
In post Rendering RESTful service with React we created simple UI which render employee list fetched from RESTful service. As…
Read More » -
Groovy
Grails 3.3 has Spock 1.1
You’ll be glad to know that milestone 1 of Grails 3.3 has been released 3 days ago — and is…
Read More »