Learn Mockito & Junit Unit Testing Fast, Simple & Practical

Last updated 11/2019
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.33 GB | Duration: 3h 3m

Learn all the practical skills you need to work as a unit testing pro using Mockito & JUnit 5. Multiple exercises!

What you'll learn
Learn all the basic concepts of unit testing using JUnit, Mockito & more...
Learn to develop unit tests using JUnit
Learn to use Mockito on top of JUnit
Learn TDD principles and TDD application in real world programming
Learn the value that unit tests add to an application
Practical demonstrations & exercises along the way for you to test your new unit testing skills
Much more... Everything is covered step by step.

Computer with Windows or Linux
Basic Java Programming skills
Basic Maven usage skills

THE BEST DEDICATED COURSE FOR ACQUIRING PRACTICAL UNIT TESTING SKILLS USING JUNIT & MOCKITOThe primary goal of this course is to teach you everything you need to become a professional unit tester using JUnit & Mockito. I will teach you the fundamental concepts of test-driven development and demonstrate how it's done. In each section I will give you a practical exercise to complete so you can practice your new Mockito & JUnit unit testing skills. The course will cover topics like:What is unit testing and what is it good forHow to install and configure JUnit & MockitoHow to write your first unit testJUnit runnersWhat is mocking?How to do mocking with MockitoMockito pitfallsMuch more...When you are finished with this course, you will be able to write complex unit tests using JUnit and Mockito and to cover as much as possible of the existing code of an application.By completing this course, you will have laid the foundation for your future development career with your new skills in unit testing. I look forward to meeting you in the course forum where I'll be available to help you along the way and answer questions that you might have.WHAT IS UNIT TESTING / JUNIT / MOCKITOUnit testing is a concept where you test your code at the smallest level possible. It is similar to how cars are tested. When you are developing different parts for a car, you have to test each part in isolation to verify whether it is working as expected or not. Once the test of that part runs clear, it is then integrated with the other components of the car to verify the integration.The same is true for software code where we need to test out functionality at the unit/class/interface/method level to ensure that everything is working as intended. JUnit is a unit testing framework that is widely used by Java programmers all over the world. It is one of the most capable testing frameworks which offers support and integration for a variety of other testing frameworks. It is currently presented in its fifth form, a form that has lots of improvements and support for the latest Java goodies.Mockito is a mocking framework that allows us to flexibly extend our unit testing capabilities without the overhead of having to maintain a large mock.TOP 3 BENEFITS OF LEARNING UNIT TESTING1: High demand. Unit testing has become very popular with the addition of CI/CD tools and it has become a basic skill that a developer needs in order to perform his everyday duty.2: A job requirement. "Unit testing" has become one of the most searched terms for hiring agencies when looking for new developers. Adding JUnit and Mockito skills to your CV will boost your chance of getting hired into your dream job.3: Creates the best code. Testable code is a readable and maintainable code. Why not use unit testing skills to build reliable applications instead of average applications full of bugs?FREQUENTLY ASKED QUESTIONSWhy do we need Mockito when we can use input data instead?Not using Mockito or any other mocking framework will make your test dependent on the environment that it is run on (databases, environment variables, etc).Second thing, we do not want to test the JDBC or other frameworks with which we connect different services, because they were tested and it does not bring any value to our development life-cycle.Why bother unit testing when we have testers?Well, testers are usually making what we call black-box testing, they cannot find all the edge-cases, they will just make sure that the requirements of the application are met when implementing. So, a lot of cases remain untouched until the deployment of the application to the end-user.How can I benefit from this course? You can benefit from this by completing it and then sharing it on your professional platforms and adding it to your LinkedIn certifications. This way, when recruiters search for "Mockito", "JUnit" and "unit testing" as keywords, your profile will show up and they will contact you. GUARANTEEIf within 30 days of buying the course you decide that it's not for you, please get a refund. We only want happy students. ARE YOU READY TO LEARN PRACTICAL UNIT TESTING SKILLS WITH JUNIT & MOCKITO?Please press the "Take This Course" button and start learning 2 minutes from now!

Section 1: Unit Testing Introduction
Lecture 1 What are unit tests?
Lecture 2 Test Driven Development – theoretical approach
Lecture 3 Test Driven Development – course approach
Lecture 4 Unit Testing in Java
Lecture 5 Developer Environment Setup
Section 2: JUnit Framework
Lecture 6 Writing your first unit test
Lecture 7 Checking for desired outputs: part 1
Lecture 8 Checking for desired outputs: part 2
Lecture 9 Junit Runners
Lecture 10 Junit Test suites
Lecture 11 Code coverage
Lecture 12 Exercise solution part 1
Lecture 13 Exercise solution part 2
Section 3: Mocking
Lecture 14 What is mocking?
Lecture 15 Mocking in pure Java
Lecture 16 Drawbacks of pure Java mocking
Lecture 17 Exercise solution
Section 4: Mockito
Lecture 18 What is mockito?
Lecture 19 Mocking with Mockito
Lecture 20 Matchers
Lecture 21 Expecting method arguments
Lecture 22 Mocking void methods
Lecture 23 Mockito pitfalls
Lecture 24 Exercise solution
Section 5: Conclusion
Lecture 25 Conclusion
Lecture 26 Bonus lecture
Anyone interested in learning unit testing using JUnit & Mockito.


To Support My Work Buy Premium From My Links.