Did you know? In Gradle 7.3, released November 2021, the Gradle team introduced a new feature called Declarative Test Suites.
Am I Testing the Right Way?
What can or should be considered the right size of a unit with regard to what is tested in isolation? Two unit-testing approaches explained!
Faster Integration Tests with Reusable Testcontainers
Learn how to improve your test performance against container-based resources by magnitudes in a couple of easy steps!
Easy Jakarta EE Integration Testing
How to use Testcontainers for your next project to create a stable and solid integration test suite of your Jakarta EE application features.
Kover : Code Coverage plugin for Kotlin
TL;DR : Kover is a code coverage tool for Kotlin. It’s still in incubator phase but I took it for a spin and it is already very useful as part of local or CI workflows! In this article I go …
Adelphi: Apache Cassandra™ Testing Goes Cloud Native
Adelphi is an open-source QA tool for Apache Cassandra, packaged as a Helm chart, simplifying Kubernetes data integrity and performance tests.
Simplify Protocol Refactoring
The other day, I went grocery shopping. While waiting in line, I thought about some struggles I had in a test I wrote earlier that day.
When it was my turn, the cashier scanned my items and said what I owe him. And I just gave him my whole wallet. He stared at me blankly and gave it back. A little confused for a second, I took out my card, paid, and left the store. And at that point, it hit me what was wrong with my test.
Instead of giving the cashier our whole wallet, let’s just give them what they need. Not more, not less.
Sometimes, you need to make code more trivial to see the higher-level patterns that solve the issue at hand more elegantly.
Java Testing with VS Code
In our last post, we talked about starting a new Java project and running and debugging it with VS Code. In this post, we will cover testing.
To run Java tests on VS Code, we recommend using the Java Test Runner extension or the Java Extension Pack, which includes the extension. The extension supports the JUnit4, JUnit5, and TestNG frameworks.