Этот материал находится в платной подписке. Оформи премиум подписку и смотри или слушай Master Java Unit Testing with Spring Boot & Mockito, а также все другие курсы, прямо сейчас!
Премиум
  • Урок 1. 00:03:26
    Introduction
  • Урок 2. 00:02:13
    Course Overview
  • Урок 3. 00:01:33
    Step 00 - Section Introduction - Mocking with Mockito
  • Урок 4. 00:02:57
    Step 01 - Setting up the project using Spring Initializr
  • Урок 5. 00:06:04
    Step 02 - Writing Unit Test for a Simple Business Service
  • Урок 6. 00:03:50
    Step 03 - Setting up a Business Service to call a Data Service
  • Урок 7. 00:04:57
    Step 04 - Writing your first unit test with Stub
  • Урок 8. 00:03:48
    Step 05 - Exercise Solution - Updating Tests 2 & 3 to use Stubs
  • Урок 9. 00:05:39
    Step 06 - Writing Unit Tests with Mocking using Mockito
  • Урок 10. 00:04:12
    Step 07 - Exercise Solution - Updating Tests 2 & 3 to use Mockito
  • Урок 11. 00:03:26
    Step 08 - More Refactoring - @Mock, @InjectMocks and @RunWith(MockitoJUnitRunner
  • Урок 12. 00:05:53
    Step 09 - Mockito Tips - Multiple Return Values and Specific Argument Matchers
  • Урок 13. 00:02:59
    Step 10 - Mockito Tips - Argument Matchers
  • Урок 14. 00:06:41
    Step 11 - Mockito Tips - Verify method calls
  • Урок 15. 00:04:05
    Step 12 - Mockito Tips - Argument Capture
  • Урок 16. 00:02:34
    Step 13 - Mockito Tips - Argument Capture on Multiple Calls
  • Урок 17. 00:07:43
    Step 14 - Introduction to Spy
  • Урок 18. 00:03:25
    Step 15 - Mockito FAQ
  • Урок 19. 00:02:47
    Step 00 - Section Introduction - Unit Testing with Spring Boot and Mockito
  • Урок 20. 00:03:41
    Step 01 - Creating a Hello World Controller
  • Урок 21. 00:12:41
    Step 02 - Using Mock Mvc to test Hello World Controller
  • Урок 22. 00:05:08
    Step 03 - Using Response Matchers to check status and content
  • Урок 23. 00:05:09
    Step 04 - Creating a Basic REST Service in Item Controller
  • Урок 24. 00:04:06
    Step 05 - Unit Testing Item Controller and Basic JSON Assertions
  • Урок 25. 00:12:27
    Step 06 - Digging deeper into JSON Assert
  • Урок 26. 00:04:11
    Step 07 - Writing a REST Service talking to Business Layer
  • Урок 27. 00:06:52
    Step 08 - Writing Unit Test for REST Service mocking Business Layer
  • Урок 28. 00:01:42
    Step 09 - 00 - Overview of Steps 09 to 15
  • Урок 29. 00:03:25
    Step 09 - 01 - Prepare Data Layers with JPA, Hibernate and H2
  • Урок 30. 00:06:01
    Step 10 - Create Item Entity and Populate data with data.sql
  • Урок 31. 00:07:55
    Step 11 - Create a RESTful Service talking to the database
  • Урок 32. 00:06:12
    Step 12 - Writing Unit Test for Web Layer - Controller - Using Mock MVC
  • Урок 33. 00:05:28
    Step 13 - Exercise & Solution - Writing Unit Test for Business Layer - Mocking
  • Урок 34. 00:08:02
    Step 14 - Writing Unit Test for Data Layer - Data JPA Test
  • Урок 35. 00:08:52
    Step 15 - Writing an Integration Test using @SpringBootTest
  • Урок 36. 00:05:04
    Step 16 - Tip - Using @MockBean to mock out dependencies you do not want to talk
  • Урок 37. 00:03:41
    Step 17 - Tip - Creating Different Test Configuration
  • Урок 38. 00:03:29
    Step 18 - Writing Unit Tests for Other Request Methods
  • Урок 39. 00:03:50
    Step 19 - Refactor SomeBusinessImpl to use Functional Programming
  • Урок 40. 00:08:38
    Step 20 - Better Assertions with Hamcrest - HamcrestMatcherTest
  • Урок 41. 00:06:28
    Step 21 - Better Assertions with AssertJ - AssertJTest
  • Урок 42. 00:09:39
    Step 22 - Better Assertions with JSONPath - JSONPathTest
  • Урок 43. 00:01:23
    Step 23 - Tip Patterns - xunitpatterns
  • Урок 44. 00:04:26
    Step 24 - Tip - Measuring Test Coverage with Eclipse
  • Урок 45. 00:03:04
    Step 25 - Tip - Keep an eye on performance of unit tests!
  • Урок 46. 00:05:35
    Step 26 - Good Unit Tests
  • Урок 47. 00:00:51
    Next Steps