Этот материал находится в платной подписке. Оформи премиум подписку и смотри или слушай Testing Java with JUnit 5 & Mockito, а также все другие курсы, прямо сейчас!
Премиум
  1. Урок 1. 00:03:25
    Introduction
  2. Урок 2. 00:08:20
    What is a Unit Test?
  3. Урок 3. 00:02:29
    Why write Unit Test?
  4. Урок 4. 00:03:54
    The F.I.R.S.T Principle
  5. Урок 5. 00:04:33
    Testing Code in Isolation
  6. Урок 6. 00:02:20
    Testing Pyramid
  7. Урок 7. 00:02:10
    What is JUnit 5?
  8. Урок 8. 00:01:03
    JUnit and Build Tools
  9. Урок 9. 00:02:35
    Create new Maven project using IntelliJ IDEA
  10. Урок 10. 00:06:13
    Add JUnit Dependencies
  11. Урок 11. 00:04:48
    Maven Surefire Plugin
  12. Урок 12. 00:02:43
    Creating a new project
  13. Урок 13. 00:05:08
    Add JUnit Dependencies
  14. Урок 14. 00:02:23
    Executing Unit Test
  15. Урок 15. 00:00:41
    Introduction
  16. Урок 16. 00:06:33
    Basic Java project with IntelliJ
  17. Урок 17. 00:06:51
    Basic Java project with Eclipse
  18. Урок 18. 00:04:56
    Creating First Unit Test method
  19. Урок 19. 00:01:58
    Assertions and Assertion message
  20. Урок 20. 00:02:59
    Other assertions
  21. Урок 21. 00:03:27
    Exercise solution overview
  22. Урок 22. 00:04:41
    Lazy Assert Messages
  23. Урок 23. 00:04:22
    Naming Unit Tests
  24. Урок 24. 00:02:34
    @DisplayName annotation
  25. Урок 25. 00:04:13
    Test Method Code Structure. Arrange, Act, Assert.
  26. Урок 26. 00:03:37
    JUnit Test Lifecycle
  27. Урок 27. 00:06:17
    Lifecycle methods demo
  28. Урок 28. 00:02:48
    Disable Unit Test
  29. Урок 29. 00:05:41
    Assert an Exception
  30. Урок 30. 00:07:39
    @ParameterizedTest. Multiple Parameters with @MethodSource.
  31. Урок 31. 00:04:23
    @ParameterizedTest. Multiple parameters with @CsvSource.
  32. Урок 32. 00:04:45
    @ParameterizedTest + CSV file
  33. Урок 33. 00:02:46
    @ParameterizedTest + @ValueSource annotation.
  34. Урок 34. 00:07:32
    Repeated Tests
  35. Урок 35. 00:02:36
    Methods Order - Random order
  36. Урок 36. 00:01:56
    Methods Order - Order by name
  37. Урок 37. 00:03:48
    Methods Order - Random by order index
  38. Урок 38. 00:08:19
    Order of Unit Test Classes
  39. Урок 39. 00:01:56
    Test Instance Lifecycle - Introduction
  40. Урок 40. 00:04:57
    Changing Test Instance Lifecycle - example 1
  41. Урок 41. 00:05:03
    Test Instance Lifecycle Demo project overview
  42. Урок 42. 00:09:01
    Test Instance Lifecycle Demo Project Implementation
  43. Урок 43. 00:03:05
    Introduction
  44. Урок 44. 00:02:18
    New project, Class, Method
  45. Урок 45. 00:03:35
    Creating UserService
  46. Урок 46. 00:06:42
    Test Create User method
  47. Урок 47. 00:04:15
    Test User object contains first name
  48. Урок 48. 00:02:16
    Refactor Test method
  49. Урок 49. 00:00:56
    Exercise
  50. Урок 50. 00:01:08
    Solution overview
  51. Урок 51. 00:04:03
    Check if user id is set
  52. Урок 52. 00:07:53
    Assert throws Exception
  53. Урок 53. 00:01:57
    Exercise
  54. Урок 54. 00:03:32
    Introduction
  55. Урок 55. 00:02:26
    Adding Mocking to a project
  56. Урок 56. 00:01:34
    Method under test overview
  57. Урок 57. 00:03:15
    Implementing UsersRepository
  58. Урок 58. 00:04:19
    Injecting UsersRepository as Dependency
  59. Урок 59. 00:02:43
    Creating a Mock object
  60. Урок 60. 00:05:02
    Stubbing using built-in any() argument matcher
  61. Урок 61. 00:06:35
    Verify method call
  62. Урок 62. 00:05:36
    Exception stubbing
  63. Урок 63. 00:03:48
    Creating EmailNotificationService class
  64. Урок 64. 00:05:21
    Stub void method with Exception
  65. Урок 65. 00:01:59
    Do nothing when method is called
  66. Урок 66. 00:04:01
    Call real method
  67. Урок 67. 00:03:54
    Introduction
  68. Урок 68. 00:05:12
    Generating code coverage report
  69. Урок 69. 00:02:40
    Export Code Coverage Report
  70. Урок 70. 00:06:54
    Export Test Report using Maven
  71. Урок 71. 00:03:04
    Jacoco - Maven Plugin for Code Coverage
  72. Урок 72. 00:03:56
    Jacoco - Export Code Coverage Report in HTML format
  73. Урок 73. 00:03:29
    Introduction to Unit Testing Spring Boot Application
  74. Урок 74. 00:02:11
    Introduction to Integration Testing of Web Layer
  75. Урок 75. 00:01:48
    Introduction to Integration Testing with All Layers
  76. Урок 76. 00:04:55
    Adding Testing Support to Spring Boot Application
  77. Урок 77. 00:08:11
    Existing Project overview + Source code
  78. Урок 78. 00:05:24
    New Test Class. @WebMvcTest & @AutoConfigureMockMvc.
  79. Урок 79. 00:09:14
    RequestBuilder - Building and Performing HTTP Request
  80. Урок 80. 00:06:55
    @MockBean - Mocking Service Layer
  81. Урок 81. 00:04:25
    @MockBean annotation - Trying how it works.
  82. Урок 82. 00:07:36
    Assert for BAD_REQUEST
  83. Урок 83. 00:03:28
    Practice exercise solution overview
  84. Урок 84. 00:01:00
    Introduction
  85. Урок 85. 00:02:03
    @SpringBootTest annotation
  86. Урок 86. 00:01:38
    @SpringBootTest WebEnvironment MOCK
  87. Урок 87. 00:03:43
    Defined Port Number
  88. Урок 88. 00:06:35
    @TestPropertySource. Loading alternative configuration.
  89. Урок 89. 00:03:10
    Random Port Number
  90. Урок 90. 00:02:19
    Test Create User - User Details JSON
  91. Урок 91. 00:07:37
    TestRestTemplate - Prepare & Perform HTTP Post Request
  92. Урок 92. 00:02:51
    Trying how it works
  93. Урок 93. 00:06:04
    Test JWT is Required
  94. Урок 94. 00:10:10
    Test User Login Works
  95. Урок 95. 00:03:49
    Order Test Methods
  96. Урок 96. 00:11:25
    GET /users. Include JWT Token in the Request
  97. Урок 97. 00:06:11
    Introduction to testing JPA Entities
  98. Урок 98. 00:03:49
    JPA Entity Overview + Source Code
  99. Урок 99. 00:08:09
    Test that UserEntity can be persisted
  100. Урок 100. 00:04:07
    Test UserEntity cannot be persisted with invalid user's first name
  101. Урок 101. 00:01:48
    Excersize - Test that UserId is Unique
  102. Урок 102. 00:03:44
    Excersize solution + Source code
  103. Урок 103. 00:05:30
    Introduction to testing JPA Repositories
  104. Урок 104. 00:05:35
    Testing Find By Email Query Method
  105. Урок 105. 00:01:15
    Excersize - Test Find By User Id Query Method
  106. Урок 106. 00:02:59
    Excersize solution overview + Source code
  107. Урок 107. 00:05:53
    Test JPQL Query + Source code