✅ How to test a Quarkus application with RestAssured and H2 Database | Quarkus Tutorial
⌚ Timestamps
0:00 Introduction | Quarkus Tutorial
03:50 Quarkus Test | Quarkus Tutorial
04:00 Test order method | Quarkus Tutorial
04:50 Rest Assured Maven dependency | Quarkus Tutorial
05:10 H2 Database Maven dependency | Quarkus Tutorial
05:40 Test get all movies | Quarkus Tutorial
08:20 Setup H2 Database | Quarkus Tutorial
10:00 Create test data import-test.sql | Quarkus Tutorial
12:30 Test get movie by Id | Quarkus Tutorial
15:14 Test get by title | Quarkus Tutorial
16:30 Test get by country | Quarkus Tutorial
18:00 Test create a new movie | Quarkus Tutorial
20:00 Test update by Id | Quarkus Tutorial
21:00 Test delete by Id | Quarkus Tutorial
25:55 GitHub Repository source code | Quarkus Tutorial
GitHub Repository: [ Ссылка ]
I am Giuseppe Scaramuzzino and you can find me on Twitter @GiuseScara to provide feedback or discuss anything about this video 🙂
What is Quarkus?
Quarkus is a Cloud Native, (Linux) Container First framework for writing Java applications. Quarkus is a MicroProfile implementation that focuses on efficiently running Java applications in containers in general and Kubernetes in particular. The MicroProfile project is aimed at
optimizing Enterprise Java for the microservices architecture.
[ Ссылка ]
What is RestAssured
Testing and validating REST services in Java is harder than in dynamic languages such as Ruby and Groovy. REST Assured brings the simplicity of using these languages into the Java domain.
[ Ссылка ]
What is H2 Database?
H2 is an open-source lightweight Java database. It can be embedded in Java applications or run in the client-server mode. Mainly, H2 database can be configured to run as inmemory database, which means that data will not persist on the disk. Because of embedded database it is not used for production development, but mostly used for development and testing.
[ Ссылка ]
What is Hibernate-ORM?
Hibernate ORM is the de facto JPA implementation and offers you the full breadth of an Object Relational Mapper. It makes complex mappings possible, but it does not make simple and common mappings trivial. Hibernate ORM with Panache focuses on making your entities trivial and fun to write in Quarkus.
What is PostgreSQL?
PostgreSQL is a powerful, open-source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance
What is JPA?
Java Persistence API is a collection of classes and methods to persistently store vast amounts of data into a database which is provided by the Oracle Corporation. To reduce the burden of writing codes for relational object management, a programmer follows the ‘JPA Provider’ framework, which allows easy interaction with the database instance. Here the required framework is taken over by JPA.
What is JAX-RS?
Jakarta RESTful Web Services, (JAX-RS; formerly Java API for RESTful Web Services) is a Jakarta EE API specification that provides support in creating web services according to the Representational State Transfer (REST) architectural pattern.
JAX-RS uses annotations, introduced in Java SE 5, to simplify the Swag and deployment of web service clients and endpoints.
Quarkus | Hibernate ORM | Java | Microprofile | Cloud-Native | JPA | PostgreSQL | Quarkus Tutorial | Hibernate | Panache Repository | Rest Assured | Quarkus Testing | Rest Test | H2 Database | Junit
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
❤️ Thanks for watching
📃 Leave me a comment
🔔 Subscribe to my YouTube channel
[ Ссылка ]
😀 My profile:
- GitHub: [ Ссылка ]
🚩 Connect with me:
- Linkedin: [ Ссылка ]
- Twitter: [ Ссылка ]
- Instagram: [ Ссылка ]
🎬 Watch related playlists and videos
[ Ссылка ]
🧑💻 Mentoring & Coaching
I remember very well when I started my journey that led me to become a developer.
At the time the resources on which to study outside the academic environment were very few and often it was not clear which path to follow.
For this reason, I want to propose myself without any type of commitment to Mentoring and Coaching.
📧 Contact me if you find yourself in one of these situations:
- If you are a student or have just graduated and want to start your career as a programmer
- If you work in another industry and would like to enter the world of programming
- If you need advice on the career you have undertaken
✍🏻 Don't hesitate to contact me!
#Quarkus #CloudNative #Java
Ещё видео!