OPI Blog
Learn from experts in their fields

Browsing Tags: Testing

Nov 24, 2020
Performance Test Liquibase Update
When doing a liquibase update to a database if you’re having performance issues, it can be hard to find out which updates are causing problems. If you need to measure the time to apply each ...
Dec 12, 2018
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 ...
Jun 12, 2018
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 ...
May 2, 2018
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....
Jul 26, 2016
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 ...
Jul 12, 2016
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 ...