- Test-Driven iOS Development with Swift 4(Third Edition)
- Dr. Dominik Hauser
- 166字
- 2021-07-02 15:39:39
Green
In the green step, you write the simplest code that makes the test pass. It doesn't matter whether the code you write is good and clean. The code can also be silly and even wrong. It is enough when all the tests pass. The name green refers to how most IDEs indicate a passing test. Xcode uses a green diamond with a white check mark.
It is very important that you try to write the simplest code that makes the tests pass. By doing so, you only write code that you actually need and that is the simplest implementation possible. When I say simple, I mean that it should be easy to read, understand, and change. The code should always be easy to understand.
Often the simplest implementation will not be enough for the feature you try to implement, but still enough to make all the tests pass. This just means that you need another failing test to further drive the development of that feature.
- VMware View Security Essentials
- 認識編程:以Python語言講透編程的本質
- Unity 2020 Mobile Game Development
- 教孩子學編程:C++入門圖解
- Spring Boot進階:原理、實戰與面試題分析
- Visual C#通用范例開發金典
- uni-app跨平臺開發與應用從入門到實踐
- 創意UI Photoshop玩轉移動UI設計
- C++ System Programming Cookbook
- Visual C++程序設計與項目實踐
- 軟件測試(慕課版)
- Java編程指南:語法基礎、面向對象、函數式編程與項目實戰
- WCF全面解析
- MySQL數據庫教程(視頻指導版)
- 美麗洞察力:從化妝品行業看顧客需求洞察