- Test-Driven iOS Development with Swift 4(Third Edition)
- Dr. Dominik Hauser
- 126字
- 2021-07-02 15:39:38
Red
You start by writing a failing test. It needs to test a required feature of the software product that is not already implemented or an edge case that you want to make sure is covered. The name red comes from the way most IDEs indicate a failing test. Xcode uses a red diamond with a white x on it.
It is very important that the test you write in this step initially fails. Otherwise, you can't ensure that the test works and really tests the feature that you want to implement. It could be that you have written a test that always passes and is, therefore, useless. Or, it is possible that the feature is already implemented. Either way, you gain insight into your code.
推薦閱讀
- Vue.js 3.x快速入門
- Mastering Visual Studio 2017
- Learn Type:Driven Development
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- 青少年美育趣味課堂:XMind思維導圖制作
- Hadoop+Spark大數據分析實戰
- 你必須知道的204個Visual C++開發問題
- JSP開發案例教程
- 好好學Java:從零基礎到項目實戰
- JBoss:Developer's Guide
- 自學Python:編程基礎、科學計算及數據分析(第2版)
- Bootstrap for Rails
- 3ds Max印象 電視欄目包裝動畫與特效制作
- Learning Grunt
- Visual Basic語言程序設計基礎(第3版)