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