Testing
-
Enterprise Java

Unit Testing Anti-Patterns, Full List
I wrote some time ago about anti-patterns in OOP. Now it’s time to write about unit testing anti-patterns—because they also…
Read More » -
Enterprise Java

Simple Testing Can Prevent Most Critical Failures
Error handling is one of the hardest and ignored part of software development and if system is distributed then this…
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 » -
Kotlin

Testing Kotlin with Spock Part 3 – Interface default method
Kotlin allows you to put method implementation in an interface. The same mechanism can be found in Java interfaces as…
Read More » -
Software Development

The Truth About AI and Test Automation
Software testing has gradually evolved in the past few decades. In the past, teams were accustomed to the waterfall methodology:…
Read More » -
Enterprise Java

ActiveMQ Performance Testing
We use ActiveMQ as our messaging layer – sending large volumes of messages with a need for low-latency. Generally it…
Read More » -
Core Java

Java: Mocking a ResultSet using Mockito
This post shows how you can mock a java.sql.ResultSet using Mockito. It can be used to help unit test code…
Read More » -
Enterprise Java

Spock 1.2 – hassle-free Spring beans mocking in integration tests
Discover how to automatically inject Spock’s mocks and spies into the Spring context using Spock 1.2. Stubs/mocks/spies in Spock (and…
Read More »





