Testing Quarkus Web Applications: Writing Clean Component Tests

Testing Quarkus Web Applications: Writing Clean Component Tests

In this article, we will learn how to write clean integration tests for Quarkus applications. We will see how we can write simple and clean tests for the following scenarios: a mail client, security with RBAC, testing using containers, and rest clients.

  • Quarkus is a full-stack, Kubernetes-native Java framework made for Java virtual machines (JVMs) and native compilation. Although many testing techniques remain the same, Quarkus provides supporting technologies to ease test set up and execution.
  • Testcontainers is a Java library that provides a way to start/stop Docker containers programmatically from the Java code. I supports out-of-the-box most used database containers, Kafka, Localstack, or WebDrivers to name a few.
  • Service virtualization is a technique used to simulate the behavior of dependencies of a service. Although service virtualization is commonly associated with REST API-based services, the same concept can be applied to any other kind of dependencies such as databases, ESBs, and JMS.

testing quarkus applications writing clean tests testing quarkus

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Testing Microservices Applications

The shift towards microservices and modular applications makes testing more important and more challenging at the same time. Learn more here.

Approaches to Mobile Application Testing

Best Mobile Application Testing Training in Chennai at FITA. Learn Mobile Testing from Experts. Android, iOS and Windows Mobile Application Training Institute

Testing a Quarkus application with WireMock and Rest Assured | Quarkus Tutorial | QUARKUS | Java

✅ How to test a Quarkus application with WireMock and Rest Assured. Testing a Quarkus application with WireMock and Rest Assured | Quarkus Tutorial | QUARKUS | Java

Testing Microservices Applications

In this article, look at different ways to test microservices and how you can have a suitable testing strategy to begin with.

Testing Quarkus Application with RestAssured and H2 Database | Quarkus Tutorial | QUARKUS | Java

Testing Quarkus application with RestAssured and H2 Database | Quarkus Tutorial | QUARKUS | Java