Этот материал находится в платной подписке. Оформи премиум подписку и смотри или слушай Unit Testing Swift Mobile App, а также все другие курсы, прямо сейчас!
Премиум
  • Урок 1. 00:01:50
    Introduction 1
  • Урок 2. 00:06:56
    Introduction 2
  • Урок 3. 00:03:30
    Testing Pyramid
  • Урок 4. 00:03:47
    The F.I.R.S.T Principle
  • Урок 5. 00:02:37
    Test-Driven Development Lifecycle
  • Урок 6. 00:03:23
    Enable Unit Tests in Xcode Project
  • Урок 7. 00:07:09
    The Default Unit Test Case Class Explained
  • Урок 8. 00:02:26
    The addTeardownBlock()
  • Урок 9. 00:03:44
    Creating a New Test Case Class
  • Урок 10. 00:04:08
    Ways to Run Unit Test in Xcode
  • Урок 11. 00:01:57
    The Default Order of Unit Tests
  • Урок 12. 00:03:09
    Unit Test Naming Requirements
  • Урок 13. 00:04:38
    Ways to Disable or Skip Unit Test
  • Урок 14. 00:03:52
    Viewing Test Results
  • Урок 15. 00:05:55
    Code Coverage
  • Урок 16. 00:01:21
    100% Code Coverage
  • Урок 17. 00:02:10
    Test Method Code Structure. Arrange, Act, Assert.
  • Урок 18. 00:07:33
    Assertions
  • Урок 19. 00:04:30
    Enabling the Failure Debugger Breakpoint
  • Урок 20. 00:03:58
    Parallel Distributed Testing on Multiple Simulator Clones
  • Урок 21. 00:01:57
    Introduction
  • Урок 22. 00:11:24
    Test That User First Name is Valid
  • Урок 23. 00:05:34
    Test for a very short First Name
  • Урок 24. 00:05:07
    Test for a very long First Name
  • Урок 25. 00:04:00
    Challenge: Apply TDD to Implement Validation of Last Name and Email Address
  • Урок 26. 00:03:38
    Test if user passwords match
  • Урок 27. 00:02:56
    Test if user passwords do not match
  • Урок 28. 00:01:48
    Introduction
  • Урок 29. 00:02:49
    Dependency Injection
  • Урок 30. 00:03:42
    Use of Protocols
  • Урок 31. 00:03:51
    Test Toubles - Fake, Mock, Stub, Dummy
  • Урок 32. 00:03:07
    Introduction
  • Урок 33. 00:01:14
    Create Initial SignupWebServiceTests Unit Test class
  • Урок 34. 00:02:41
    Create Initial SignupWebService Class
  • Урок 35. 00:04:14
    Implementing SignupFormRequestModel
  • Урок 36. 00:01:36
    Adding CompletionHandler to Signup Method Signature
  • Урок 37. 00:01:24
    Implementing the Initial SignupResponseModel
  • Урок 38. 00:01:04
    Implementing the Initial SignupErrors Enum
  • Урок 39. 00:04:07
    Organize Project Folders
  • Урок 40. 00:02:20
    Assert that the Response Status is Equal to "ok"
  • Урок 41. 00:02:36
    Adding an Expectation and an Asynchronous Wait Method
  • Урок 42. 00:01:52
    Inject URL String
  • Урок 43. 00:01:42
    Prepare URL
  • Урок 44. 00:02:52
    Prepare URL Request Object
  • Урок 45. 00:02:15
    Create DataTask
  • Урок 46. 00:01:01
    Inject URLSession
  • Урок 47. 00:02:04
    Return Response Model
  • Урок 48. 00:04:34
    Trying how it works with Real HTTP Request
  • Урок 49. 00:04:21
    Mock URLProtocol
  • Урок 50. 00:04:40
    Make URLSession use MockURLProtocol
  • Урок 51. 00:07:26
    Handle Unknown JSON Response Model
  • Урок 52. 00:05:43
    When Empty URL Provided Return a Specific Error Message
  • Урок 53. 00:02:54
    Refactor SignupErrors Enum
  • Урок 54. 00:13:22
    Test URL Request Failure
  • Урок 55. 00:02:00
    Check Code Coverage
  • Урок 56. 00:06:11
    Introduction
  • Урок 57. 00:01:49
    Create Presenter Unit Test Class and Test Method
  • Урок 58. 00:02:48
    Create Signup Form Model Struct
  • Урок 59. 00:02:17
    Create SignupPresenter class and the processUserSignup() method
  • Урок 60. 00:03:08
    Create Initial MockSignupModelValidator class
  • Урок 61. 00:04:46
    Create Validator Protocol
  • Урок 62. 00:07:00
    Inject Validator Mock and validate each property
  • Урок 63. 00:03:17
    Refactor
  • Урок 64. 00:03:04
    Unit Test to verify the signup() was called
  • Урок 65. 00:02:40
    Create SignupWebService Mock Class
  • Урок 66. 00:03:00
    Signup Web Service Protocol
  • Урок 67. 00:05:12
    Inject Signup Web Service Mock in to Presenter
  • Урок 68. 00:01:19
    Unit Test to assert that Presenter calls a method on View Delagate
  • Урок 69. 00:07:00
    Create View Delegate Protocol and MockSignupViewDelegate
  • Урок 70. 00:05:10
    Inject View Delegate into Presenter
  • Урок 71. 00:00:55
    Counting number of times a method was called
  • Урок 72. 00:01:26
    Verify that successfulSignup() called one time only
  • Урок 73. 00:00:56
    Refactor
  • Урок 74. 00:02:14
    Coding Challenge
  • Урок 75. 00:03:43
    Assert that Presenter calls a Error Handler on View Delagate
  • Урок 76. 00:01:51
    Review Code Coverage of Presenter Class
  • Урок 77. 00:03:35
    Introduction
  • Урок 78. 00:05:29
    Create a New Test Class and a Test Method
  • Урок 79. 00:05:25
    Test UITextFields are initially empty
  • Урок 80. 00:06:39
    Test UITextField has a referencing outlet
  • Урок 81. 00:09:16
    Test UIButton has @IBAction assigned to it
  • Урок 82. 00:03:48
    Test UIButton Action invokes code in Presenter
  • Урок 83. 00:05:12
    Create MockSignupPresenter class
  • Урок 84. 00:08:20
    Inject MockSignupPresenter into View Controller
  • Урок 85. 00:01:30
    Introduction
  • Урок 86. 00:02:41
    Refactor Massive View Controllers
  • Урок 87. 00:05:46
    Use Protocols and Dependency Injection
  • Урок 88. 00:03:28
    Adding code to existing methods
  • Урок 89. 00:02:35
    Break large functions into smaller ones
  • Урок 90. 00:04:50
    Wrapping existing classes. Decorator pattern.
  • Урок 91. 00:03:46
    Loading UIViewController that uses a Storyboard
  • Урок 92. 00:02:37
    Loading UIViewController that uses XIB
  • Урок 93. 00:03:13
    UIViewController that creates Views programmatically
  • Урок 94. 00:06:56
    XCTAssertThrowsError example
  • Урок 95. 00:02:34
    XCTAssertNoThrow example
  • Урок 96. 00:04:01
    An example of Do Try and Catch instead of XCTAssertThrowsError
  • Урок 97. 00:01:47
    An example of Do Try and Catch instead of XCTAssertNoThrow
  • Урок 98. 00:06:42
    Overview of UITextField Attributes: Content Type, Keyboard Type, Placeholer...
  • Урок 99. 00:05:06
    Test that UITextField has the Email Address UITextContentType set
  • Урок 100. 00:02:55
    Test that UITextField has Email Address keyboard type set
  • Урок 101. 00:02:37
    Test that Password UITextField is a Secure Text Entry
  • Урок 102. 00:02:21
    Project overview
  • Урок 103. 00:07:32
    Push UIViewController into UINavigationController. Wait for expectations.
  • Урок 104. 00:03:18
    Test Push Navigation. Alternative way.
  • Урок 105. 00:05:44
    Test Push Navigation with Spy class
  • Урок 106. 00:05:49
    Introduction
  • Урок 107. 00:06:10
    Accessing UI Elements
  • Урок 108. 00:02:03
    Add UI Tests target to a project
  • Урок 109. 00:02:22
    Create a new UI Test case class
  • Урок 110. 00:02:46
    Recording UI Tests. An introduction
  • Урок 111. 00:04:45
    Recording UI Tests. Test if UITextFields are enabled
  • Урок 112. 00:02:42
    Testing with UITextField placeholders
  • Урок 113. 00:05:10
    Test Assertions to check if UITextFields are enabled
  • Урок 114. 00:04:04
    Adding accessibility identifiers to UITextFields
  • Урок 115. 00:02:27
    Finding UI elements
  • Урок 116. 00:04:58
    A Test method to assert that an error alert is presented
  • Урок 117. 00:06:02
    Making UIViewController display UIAlertController
  • Урок 118. 00:02:43
    Refactor
  • Урок 119. 00:05:30
    Test for Success Alert Dialog
  • Урок 120. 00:07:03
    Wait for View Controller to appear
  • Урок 121. 00:03:06
    XCUIElement Actions and Gestures
  • Урок 122. 00:01:35
    Introduction
  • Урок 123. 00:02:43
    Generating and Previewing Screenshots
  • Урок 124. 00:01:37
    Enabling and Disabling Automatic Screenshots
  • Урок 125. 00:04:08
    Taking Screenshot of Specific UI Element
  • Урок 126. 00:02:48
    Take a Screenshot of Current Device Screen
  • Урок 127. 00:04:56
    Introduction
  • Урок 128. 00:04:00
    Passing and Reading Launch Arguments
  • Урок 129. 00:04:30
    Passing and Reading Launch Environment Values
  • Урок 130. 00:02:38
    Introduction
  • Урок 131. 00:03:23
    Creating a new Test plan
  • Урок 132. 00:04:22
    Creating new test plan configuration
  • Урок 133. 00:04:19
    A separate Test Plan for UI Tests, Unit Tests and All Tests
  • Урок 134. 00:07:23
    Localization screenshots demo