Streamlining Quarkus Application Development with Testcontainers Desktop
Quarkus is a popular JVM framework that has revolutionized the way developers create cloud-native, serverless, and microservices applications. One of its key goals is to provide a good Developer Experience (DX) by offering features like Dev Mode with Live Reload and Continuous Testing. However, provisioning dependent services like databases and message brokers during local development and integration testing can be challenging. This is where Testcontainers comes in. Testcontainers is a tool that automatically provisions the required dependencies for testing. To make local development and testing even easier, AtomicJar has introduced Testcontainers Desktop, a free companion app for Testcontainers. In this article, the author demonstrates how to use Testcontainers Desktop while building a Quarkus application. They provide step-by-step instructions on creating a Quarkus application, implementing a REST API, and writing tests using RestAssured. The article also includes code snippets and configuration details to help developers get started. By leveraging Testcontainers Desktop, developers can streamline their Quarkus application development process and ensure reliable testing with real dependencies.