JUnit
-
Enterprise Java

Temporary directories in JUnit 5 Tests
JUnit 4 TemporaryFolder @Rule allowed developers to create tests utilising temporary directories. With JUnit 5, the @Rules are not supported…
Read More » -
Enterprise Java

Writing better unit tests in less time with Junit Parameters
Most of people understand the importance and benefits of unit tests and why you should have them in projects you…
Read More » -
Enterprise Java

Using JUnit 5 In Pre-Java 8 Projects
This post demonstrates how JUnit 5 can be used in pre-Java 8 projects and explains why it could be a…
Read More » -
Enterprise Java

@ParameterizedTest with null values in @CvsSource
Writing parameterized tests in JUnit 4 was pretty cumbersome. JUnit 5 introduced several useful improvements to the framework and running…
Read More » -
Enterprise Java

Blow up Your JUnit5 Tests with Permutations
Writing JUnit tests can be a tedious and boring process. Learn how you can improve your tests classes using permutations…
Read More » -
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 »



