Check out Engineering for Testability

Check out Engineering for Testability

Posted by willsbor Kang on 2017-07-12

每隔幾天在客運車上就隨便看一個…

  1. Tesable code
    用 protocol and paramerterization 方法和概念,讓你的 code 變成可以測試的,也就是把邏輯和資料的部分拆開,讓 algorithms 能被拆出來,並且被測試
  1. UI Testing
    摘要化(abstacting) UI element queries (其實應該就是如同 unit test 時,將部分用 protocol 拆出)

  2. Quality of Test Code
    [Code reivews for test code, not code reviews with test code]
    App Code + Test Code = Code