Tags
Language
Tags
May 2025
Su Mo Tu We Th Fr Sa
27 28 29 30 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
    Attention❗ To save your time, in order to download anything on this site, you must be registered 👉 HERE. If you do not have a registration yet, it is better to do it right away. ✌

    ( • )( • ) ( ͡⚆ ͜ʖ ͡⚆ ) (‿ˠ‿)
    SpicyMags.xyz

    Quarkus - Simple Rest Api And Unit Tests With Junit 5

    Posted By: ELK1nG
    Quarkus - Simple Rest Api And Unit Tests With Junit 5

    Quarkus - Simple Rest Api And Unit Tests With Junit 5
    Published 2/2023
    MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
    Language: English | Size: 421.61 MB | Duration: 0h 54m

    Java and Quarkus Framework with JUnit 5

    What you'll 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

    Requirements

    Basic Java Knowledge, basic API knowledge

    Description

    Enhance your knowledge of the Java Ecosystem - Discover the Quarku Framework FeaturesA 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.

    Overview

    Section 1: Introduction

    Lecture 1 Introduction

    Lecture 2 Software Requirements for this Course

    Lecture 3 Introduction and init REST API app

    Section 2: Testing the REST endpoints with Postman

    Lecture 4 Finish and Testing REST Endpoints

    Section 3: Testing Controller Layer with Quarkus and JUnit 5

    Lecture 5 Testing First Controller Class

    Lecture 6 Testing Second Controller Class

    Section 4: Testing Service Layer and DB Transaction

    Lecture 7 Testing First Service Class

    Lecture 8 Testing Second Service Class with Database Transaction

    Lecture 9 Next Steps with Quarkus

    Java Developers of all levels