Testing Data Manipulating Scripts Using Groovy and Testcontainers

How do you write automated tests for scripts? This question popped in my head when I had to write a script that deletes data in my previous job. Sure I could just run a container in the background but I wanted the setup to be easy for my coworkers. I also said to myself that no way will I write “a simple script” that deletes data without writing tests for it....

April 28, 2022 · JC