Open Source InfoSec Using Gradle
Information security needs to be a part of any application. Solutions range in price from no cost to very expensive. However, quality is usually proportional to cost (but not always). We are going to ...
Kafka Testing using YAML
Integration testing can be difficult for distributed systems. I’ve found this to be true when testing Kafka to ensure data is produced correctly. I’ve tried using a consumer in my tests to verify data made ...
Create a Custom Annotation for your JUnit5 ParameterizedTest ArgumentProvider
In my opinion, the best new feature of Junit5 is the addition of parameterized tests. They greatly reduce copy/pasted code and makes it easy to increase your test coverage without unnecessarily increasing the amount of ...
Logical GWT client testing with Spock
GWT – Google Web Toolkit may not be as heavily used as it once was 5-10 years ago, though many enterprise teams and legacy projects are still using the technology. While we can easily use ...
Unit Testing Camel Routes with Spock
Introduction Apache Camel’s variety of components and message routing logic capabilities makes testing a requirement to ensure your routes are performing as expected. Since Camel routes are built within a context, it usually follows that ...
Spring Integration Testing with Spock Mocks
We all know it’s important to write tests for our code. Often we write unit tests and mock out the dependencies for the class under test. But eventually there is something we need to test that ...
Automating Testing for Generated HTML Content using Gradle
We are going to discuss generated HTML content and how to validate it in an automated fashion. The results will be appropriate to work into your continuous integration (CI) pipeline....
JUnit 5 with Spring Boot (plus Kotlin)
This summer the JUnit team released a beta version of the next iteration, version five. This newest version adds a ton of new features that will be a welcome relief for JVM developers who have ...
Working with the Postman REST Client
Recently at one of my clients, I found myself looking for a different setup for building and managing REST calls to various APIs I was working with. There are a multitude of services out there ...
Automatically download OS-specific WebDriver executable
When using the Selenium browser functional testing library, testing with some browsers requires using an operating system-specific executable in addition to the driver .jar file. For example, when running Selenium tests with Chrome you need ...