JUnit
-
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 » -
Core Java
JUnit 5 meets AssertJ
JUnit 5 brings a lot of improvements in the assertions library, mainly thanks to Java 8 and Lambda Expression support…
Read More » -
Core Java
JUnit 5 – Basics
JUnit 5 is the next generation unit testing framework for Java equipped with many interesting features including nested tests, parameterized…
Read More » -
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
Lifecycle of JUnit 5 Extension Model
JUnit5 final release is around the corner (currently it is M4), and I have started playing with it a bit…
Read More » -
Core Java
Cleaner parameterized tests with JUnit 5
The general idea of parameterized unit tests is to run the same test method for different data. Creating parameterized tests…
Read More »