Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TDD 和单元测试、UI 自动化测试 #24

Open
ShannonChenCHN opened this issue Apr 25, 2017 · 2 comments
Open

TDD 和单元测试、UI 自动化测试 #24

ShannonChenCHN opened this issue Apr 25, 2017 · 2 comments
Labels

Comments

@ShannonChenCHN
Copy link
Owner

ShannonChenCHN commented Apr 25, 2017

  • TDD
  • 单元测试
    • 什么是单元测试
    • 为什么要做单元测试
    • 应用场景
    • 如何做单元测试
  • 黑盒测试
  • 白盒测试
  • 自动化测试
@ShannonChenCHN ShannonChenCHN changed the title 【专题】TDD 【专题】TDD 和单元测试、UI 测试 Apr 27, 2017
@ShannonChenCHN ShannonChenCHN changed the title 【专题】TDD 和单元测试、UI 测试 【专题】TDD 和单元测试、UI 自动化测试 Apr 30, 2017
@ShannonChenCHN ShannonChenCHN changed the title 【专题】TDD 和单元测试、UI 自动化测试 TDD 和单元测试、UI 自动化测试 Oct 21, 2017
@ShannonChenCHN
Copy link
Owner Author

ShannonChenCHN commented Sep 1, 2019

单元测试

  • 基础
    • Defining Test Scope/What to Test
    • Two types of unit test contexts
      • App tests
      • Library tests
    • XCTest 框架
      • Writing Test Classes and Methods
        • Test Targets, Test Bundles, and the Test Navigator
        • Creating a Test Class
        • Test Class Structure
          • Setup and Teardown
          • Flow of Test Execution
        • Writing Test Methods
      • XCTest Assertions
      • given-when-then
      • Writing Tests of Asynchronous Operations
      • Writing Tests with Swift
        • @testable
    • Running Tests and Viewing Results
    • Debugging Tests
  • stub 和 mock 的区别
  • 最佳实践(FIRST 原则)
    • Fast
    • Independent/Isolated
    • Repeatable
    • Self-validating
    • Timely
  • Performance Testing
  • Automating the Test Process(Continuous Integration/Continuous Delivery)
  • User Interface Testing
  • Mock 框架
  • 示例代码

问题讨论

参考:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant