Clean Test Automation Monthly 12 / 2023

The Clean Test Automation Monthly is a monthly blog post that highlights the best test automation content which I read during the current month. This blog post is always published on the last day of the month.

Let's begin!

Testing AWS service integrations using LocalStack (and Testcontainers) is an excellent article which describes how we can write tests for a Spring Boot application that uses Spring Cloud AWS to interact with AWS S3 and SQS.

Stop "Springifying" your unit tests is an interesting blog post which argues that we shouldn't write unit tests which use the application context based configuration. Also, this Reddit discussion contains additional point of views which weren't discussed in original the blog post.

[Unit] Testing Supabase in Kotlin using Test Containers – PART 2 describes how we can run a full Supabase instance locally with Testcontainers.

Testing Spring Boot JMS with ActiveMQ Artemis and Testcontainers explains how we can run the Apache ActiveMQ Artemis message broker with Testcontainers and describes how we can write a simple test which sends and receives a message.

Building Spring Boot’s ServiceConnection for Testcontainers WireMock descsribes how we can write a custom Spring Boot ServiceConnection that provides support for the Testcontainers WireMock module.

3 comments… add one
  • Kostas Jan 20, 2024 @ 16:46

    Stop springifying your tests... url does not work. It should point here https://saile.it/stop-springifying-your-unit-tests/ but something goes wrong

    • Petri Jan 21, 2024 @ 10:10

      That link is working now. I guess the server which hosts saile.it was down or wasn't working correctly.

  • Florian McKee Feb 23, 2024 @ 15:12

    Thanks for sharing the links. I couldn't agree more with the following statement from 'Stop "Springifying" your unit tests':

    This is a common occurrence with developers using a tool (the Spring Framework) but having no idea how it works. Not much later, you will hear them complain about how annotations are complex and mystify the issues they have.

Leave a Reply