JUnit
-
Core Java
Unit testing constraints with business input from Excel or LibreOffice
The business experts explain the business constraints to us, the developers. But how can we be sure that we understood…
Read More » -
Kotlin
Testing Kotlin with Spock Part 2 – Enum with instance method
The enum class with instance method in Kotlin is quite similar to its Java version, but they are look a…
Read More » -
Enterprise Java
Mocking files for JUnit testing a Spring Boot web application on Synology NAS
For a Spring Boot application which will check backup files on a Synology RS815+ NAS, we wanted to be able…
Read More » -
Enterprise Java
Spring Framework with Maven Tutorial
In this post, we shall demonstrate how to use Maven dependencies for Spring framework for very specific use-cases. The latest…
Read More » -
Core Java
Ant 1.10.3 released with JUnit 5 support
We just released 1.9.11 and 1.10.3 versions of Ant today. The downloads are available on the Ant project’s download page. Both these…
Read More » -
Kotlin
Kotlin and JUnit 5 @BeforeAll
Introduction In Kotlin, classes do not have static methods. A Java equivalent semantic can be provided to callers using the concept of…
Read More » -
Core Java
JUnit Hamcrest Matcher for JSON
This post shows how you can write JUnit tests to check if an object matches a JSON string. This is…
Read More » -
Enterprise Java
Spring Based Application – Migrating to Junit 5
This is a quick write-up on migrating a Gradle based Spring Boot app from Junit 4 to the shiny new…
Read More » -
Android Core
Android Studio 3.0 – Initial Impressions of Tool Support
I have been using Android Studio 3.0 since since the alpha versions, and it is good to see it finally…
Read More »