Great Tools for Engineers - Even Cleaner Tests with Mockito 2
Offered By: Devoxx via YouTube
Course Description
Overview
Discover how to enhance test clarity and efficiency using the latest Mockito 2 release in this informative conference talk. Explore new features and best practices that increase productivity and simplify troubleshooting. Join Szczepan Faber, creator of Mockito and passionate advocate for engineering tools, as he demonstrates live examples and shares insights from his extensive experience. Learn about debug ability, framework failures, strict mocks, default mocks, lambda strict mocks, and how to fix common issues. Understand why tests fail, the benefits of lenient mocking, and how to handle argument problems. Dive into new behaviors, strict stubbing, and techniques for writing dry tests. Discover how to avoid unnecessary stubbing, leverage stubs effectively, and eliminate redundant interactions. Gain valuable knowledge about additional features that can further improve your testing process.
Syllabus
Intro
Debug ability
Framework failure
Strict Mocks
Default Mocks
lambda
Strict Mock
Fixing a typo
Why the tests are failing
Why Mockito is lenient
Argument problems
New behavior
Strict stabbing
Dry tests
No more interactions
Use stubs
Avoid unnecessary stabbings
Other features
Question
Taught by
Devoxx
Related Courses
Professional Android App DevelopmentGalileo University via edX Master Java Unit Testing with Spring Boot & Mockito
Udemy Testing Spring Boot: Beginner to Guru
Udemy Effective Android Testing for Mobile Developers
LinkedIn Learning Máster Completo en Java de cero a experto 2024 (+127 hrs)
Udemy