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
Algorithms, Part IPrinceton University via Coursera Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera MongoDB for Java Developers
MongoDB University Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera Intro to Java Programming
San Jose State University via Udacity