Learn Java Unit Test: Mockito & Powermock Complete Tutorial
About this course
**** Please enable the vedio cc function (captions ) *****Learn Java Unit Test: Mockito & Powermock Complete Tutorial contains below agenda, this course base on JAVA 16 and latest mockito 3.x version and latest powermock most detials guidance how to write the unit test code. 1. overview understand mocking 1.1 F.I.R.S.T Principles introductionFastIsolatedRepeatableSelf-validatingTimely 1.2 what is mocking 1.3 simulate the user login application 1.4 unit test the user login function with mockito 2. Mockito details tutorial 2.1 how to mock objects 2.2 deep mock 2.3 mock object stubbling statement when...thenReturn doReturn...when doNothing...when when...thenThrow doThrow...When when...thenAnswer doAnswer...when when...thenCallRealMethod doCallRealMethod...when 2.4 Stubbing statement - multiple return values 2.5 Stubbing statement - Cascading code style 2.6 Spying 2.7 Mockito argument matcher 2.8 verify method invocations 2.9 verify with VerificationMode 2.10 Mockito verify Interactions 2.11 Mockito ArgumentCaptor & @Captor 2.12 @InjectMocks 3. Mockito Inline Module 3.1 Mockito & BDD code style 3.2 Mockito mock static method
69/100
CourseAsk score
- What the provider tells you
- 45/45
- Who stands behind it
- 8/35
- How complete the listing is
- 16/20
Scores how much the provider publishes and who stands behind it — not how well it is taught.
What you'll learn
- understand mocking and its principles
- create and manage mock objects
- implement unit tests for applications using Mockito
- verify method interactions and invocations
- utilize PowerMock for advanced mocking scenarios
Course objectives
- equip participants with practical skills in unit testing using Mockito and PowerMock
- support effective test-driven development in Java projects
Price shown by Udemy — confirm on their site.
Enroll on UdemyYou'll be redirected to Udemy to complete enrollment.
- Listed & compared by CourseAsk
- English · 0
Compared on these lists
Where this course ranks against the alternatives.
edX