Sunday, January 31, 2021

testing your backend without getting testy

 Testcontainers is a wonderful library. It allows you to quickly add Docker containers to run services that are needed for your tests. It is the ultimate mock object, since it is nearly identity in function to the service backing your application. In this post, I will use Testcontainers to create a MySQL database to test my Spring Boot application. This uses JUnit 5, Spring Boot 2.4.2, and the current release of MySQL. Full source is here.

1 comment:

  1. majestic star casino open ミスティーノ ミスティーノ 우리카지노 우리카지노 온라인카지노 온라인카지노 616Betway Casino: Best Casino For Canadian Players

    ReplyDelete