Testing Java, Spring apps with JUNIT, Mockito, Wiremock
Learn to write high quality code
Java,Java Testing,Java & Spring
Lectures -19
Resources -14
Duration -7.5 hours
30-days Money-Back Guarantee
Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.
Course Description
"Testing Java Apps with JUnit, Mockito, Wiremock, and Postman" is a course designed for Java developers who want to improve their skills in creating robust, high-quality software. It covers the use of JUnit, a popular Java framework for unit testing, along with the Mockito and Wiremock libraries for creating mock objects and simulating HTTP interactions. Additionally, the course covers the use of Postman for testing and debugging RESTful API's. Throughout the course, you will learn how to write test cases that are easy to maintain, understand and execute. The course will also cover the best practices and common pitfalls to avoid when testing Java applications. By the end of the course, you will have the knowledge and skills needed to confidently create, execute, and maintain automated tests for your Java applications.
You will learn about :
JUNIT concepts - we first write the code for our app, then we identify what is missing to be proud of our code and at the end of this chapter we implement some tests that will cover all our functionality.
how to use POSTMAN to write automated tests and also build your own mock server. POSTMAN is used, most of the times, just for making requests to our app, but in reality it has a lot of functionality that can make your life easier
Mockito - we will talk about stubs/spies/mocks. We first write some tests that will use stub/mock/spy for the simple java app and after that we learn what changes in our approach. You will need this information to know exactly when to use what.
Wiremock - you will learn how to an app that uses a rest api client
These are must know knowledge if you want to advance your career and write better code.
Goals
Learn how to build robust apps by testing your code properly
Prerequisites
I would recommend taking the Simple java course first.
Also taking the course about data structures and multithreading can be a plus.
![Testing Java, Spring apps with JUNIT, Mockito, Wiremock Testing Java, Spring apps with JUNIT, Mockito, Wiremock](https://d3mxt5v3yxgcsr.cloudfront.net/courses/17935/course_17935_image.png)
Curriculum
Check out the detailed breakdown of what’s inside the course
JUNIT5/Mockito/Mocks/Stub/Spy/Exception Testing
11 Lectures
-
JUNIT5 introduction and practical example 34:50 34:50
-
Mockito, Stub, Spy presentation 09:19 09:19
-
Presentation and implementation of the flow 29:13 29:13
-
Mockito, Spy, Stub on the previously implemented app 44:36 44:36
-
Mocking exceptions 27:16 27:16
-
Exception testing by using spies 36:54 36:54
-
Wiremock introduction 06:13 06:13
-
Presentation and implementation of the flow part 2 44:14 44:14
-
Reset mocks 03:20 03:20
-
Mockito, Spy, Stub in Spring - preparing the workspace 19:31 19:31
-
Mockito, Spy, Stub in Spring - tests implementing 12:32 12:32
Wiremock and Mock server with POSTMAN
4 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Test your rest api with postman
4 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Instructor Details
![Covrig George-Manuel](https://www.tutorialspoint.com/assets/profiles/755291/profile/200_2401833-1718093975.jpg)
Covrig George-Manuel
Passionate about software engineering in general with proven experience in top companies. Worked with as many programming languages and technologies as I could during my job and outside of my job. This curiosity brought me to the conclusion that even if people think that programming languages are so different, they are not, and it's your "engineering" mind that you should build.
I am a strong believer in the fact that anyone can learn anything if they have enough motivation.
Tried to bring my best in my courses, explaining concepts as better and short as possible, with meaningful diagrams.
If you choose to take my course, I would love to have your constructive reviews (what should I improve/what topics you would like to see more from) and hopefully some positive ones too.
Course Certificate
Use your certificate to make a career change or to advance in your current career.
![sample Tutorialspoint certificate](/market/public/assets/newDesign/img/primePacks/V-certificate.png)
Our students work
with the Best
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfc bank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfcbank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
Related Video Courses
View MoreAnnual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now![Annual Membership Annual Membership](/market/public/assets/newDesign/img/membership-large-small.jpg)
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now![Online Certifications Online Certifications](/market/public/assets/newDesign/img/traning-for-a-team.png)