Testing temporal events in Spring Boot Java applications with JUnit 5 and Spring Boot Test.
Practical examples of software testing in Java using Spring Boot Test without mocking frameworks.
Abstract classes typically offer one or more concrete methods. These must be tested as well. There are several ways how to do it, but which one to choose?
Noone wants to write one thing twice. Reducing duplicates makes code shorter and clearer. How much this applies for test code?
I really like Test-Driven Development (TDD) and apply it almost always. The problem with TDD is that it focuses too much on working software.
Binary data shouldn't be a part of the codebase. This is pretty well-known practice. But how to proceed when we do need binaries in our codebase, for instance as test data?
Write your tests once and run them twice - as both unit and integration tests - sounds like a good deal, let's take a look at this practice.
Black-box testing is testing of a component via its API without any knowledge of its implementation details. As the opposite there is the white-box testing. And it about testing implementation, right? Well, no...
Why shouldn't we test the implementation? How to decouple our tests from the code? What is the reason to add a new test? Why is mocking a code smell? In this article I will try to find answers to those questions.
Testing serverless systems is hard. In this article, we will discuss some practices which work well for my project.