WireMock is a Java-based web service mocking tool that allows developers to simulate a web service’s behavior for testing purposes. WireMock provides an Admin API, which manages the mock server and its interactions. I will explore the stub mappings and scenarios that you can manipulate with the admin API.

Continue reading

Cucumber is a Behavior-Driven Development (BDD) framework that allows you to write automated tests in a structured and readable way. Cucumber supports the Gherkin syntax, a human-readable language for defining test scenarios. In addition to Gherkin, Cucumber also provides a powerful set of hooks that allow you to manage the lifecycle of your tests.

Continue reading

During one of the tests, I got a list of items sorted via an api. At least that’s what I thought. From that list, I always extracted the first item because it was always the most recent one that was in the database.

Continue reading

I discovered lately some things in java that I did not know yet. The switch statement in the java language switch in java has some weird things. First let’s create an example user story. I will write code afterwards.

Continue reading

In some areas in the world people use commas as thousand separators. I sometimes use points to separate them. Most of the time I do not use separators at all. In Python and Java the convention is to use underscores as separators. In this post, I investigate underscores in Java and Python numbers.

Continue reading

The java builder pattern is an alternative way of constructing objects. The java builder pattern is useful for testers too.

Suppose you have to send some person data to our backend. That person has a name. In our tests you create a Person class with a constructor that has the persons name as parameter.

Continue reading

Author's picture

Bart Vanherck

Software Test Automation

Belgium