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
What will you learn in this course:
Learn how to build robust apps by testing your code properly
Prerequisites
What are the prerequisites for this course?
I would recommend taking the Simple java course first.
Also taking the course about data structures and multithreading can be a plus.
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
Test your rest api with postman
4 Lectures
Instructor Details
Covrig George-Manuel
eCourse Certificate
Use your certificate to make a career change or to advance in your current career.
Our students work
with the Best
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 nowOnline Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now