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
Automated Visual Software AnalyticsopenHPI JavaScript Testing
Udacity Desarrollo de Aplicaciones Web: Prueba y Despliegue
University of New Mexico via Coursera 软件工程
Peking University via Coursera Building R Packages
Johns Hopkins University via Coursera