HOME > Development > Quarkus Simple REST API and Unit Tests with JUnit 5

Quarkus Simple REST API and Unit Tests with JUnit 5

  • Development
  • May 11, 2025
SynopsisQuarkus – Simple REST API and Unit Tests with JUnit 5,...
Quarkus Simple REST API and Unit Tests with JUnit 5  No.1

Quarkus – Simple REST API and Unit Tests with JUnit 5, available at $19.99, has an average rating of 4.15, with 9 lectures, based on 10 reviews, and has 1089 subscribers.

You will learn about Learn about how to create a simple REST API with Java and Quarkus Framework How to use Quarkus with JUnit 5 to test the endpoints REST and Service layer Learn about using @TestTransaction annotation in tests with databases Fundamentals and importance of Tests in Software Development This course is ideal for individuals who are Java Developers of all levels It is particularly useful for Java Developers of all levels.

Enroll now: Quarkus – Simple REST API and Unit Tests with JUnit 5

Summary

Title: Quarkus – Simple REST API and Unit Tests with JUnit 5

Price: $19.99

Average Rating: 4.15

Number of Lectures: 9

Number of Published Lectures: 9

Number of Curriculum Items: 9

Number of Published Curriculum Objects: 9

Original Price: $19.99

Quality Status: approved

Status: Live

What You Will Learn

  • Learn about how to create a simple REST API with Java and Quarkus Framework
  • How to use Quarkus with JUnit 5 to test the endpoints REST and Service layer
  • Learn about using @TestTransaction annotation in tests with databases
  • Fundamentals and importance of Tests in Software Development
  • Who Should Attend

  • Java Developers of all levels
  • Target Audiences

  • Java Developers of all levels
  • Enhance your knowledge of the Java Ecosystem – Discover the Quarku Framework Features

    A quick and objective course, straight to the point!

    In this course you will learn in an objective and practical way how to create a simple REST API that uses GET and POST methods and you will also learn how to create Unit Tests for your Controller and Service layer classes.

    Let’s use as an example the creation of a Company Entity with some sample data, for this we will make use of JPA/Hibernate annotations that are inserted in the context of the Quarkus Framework.

    In the following steps, we will separate the REST API into controller and service layers, respecting the MVC model (Model View Controller) and finally, we will use Postman to make requests to this REST API.

    Then, we move on to the unit testing phase using the updated version of JUnit, the most widely used Testing Framework in the Java world.

    In this phase we will create unit tests that validate the paths of our endpoints and the responses received.

    Finally, let’s create unit tests for our Service layer. Here we test data processing and business rules and also create a test that simulates data persistence in the database.

    Topics:

  • Understanding the importance of Unit Testing;

  • Creating a simple REST API with Java + Quarkus Framework;

  • Testing the API with Postman;

  • Creating unit tests for REST API endpoints;

  • Creating unit tests for Service classes;

  • Creating tests that validate data in the database.

  • Course Curriculum

    Chapter 1: Introduction

    Lecture 1: Introduction

    Lecture 2: Software Requirements for this Course

    Lecture 3: Introduction and init REST API app

    Chapter 2: Testing the REST endpoints with Postman

    Lecture 1: Finish and Testing REST Endpoints

    Chapter 3: Testing Controller Layer with Quarkus and JUnit 5

    Lecture 1: Testing First Controller Class

    Lecture 2: Testing Second Controller Class

    Chapter 4: Testing Service Layer and DB Transaction

    Lecture 1: Testing First Service Class

    Lecture 2: Testing Second Service Class with Database Transaction

    Lecture 3: Next Steps with Quarkus

    Instructors

  • Quarkus Simple REST API and Unit Tests with JUnit 5  No.2
    Vinícius Pereira de Oliveira
    Software Engineer
  • Rating Distribution

  • 1 stars: 0 votes
  • 2 stars: 3 votes
  • 3 stars: 0 votes
  • 4 stars: 1 votes
  • 5 stars: 6 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!