- Test-Driven Java Development(Second Edition)
- Alex Garcia Viktor Farcic
- 136字
- 2021-06-24 18:31:51
Running all the tests
It is very important that all the tests are run and not only the last test that was written. The code that we just wrote might have made the last test pass while breaking something else. Running all the tests confirms not only that the implementation of the last test is correct, but also that it did not break the integrity of the application as a whole. This slow execution of the whole test suite is a sign of poorly written tests or having too much coupling in the code. Coupling prevents the easy isolation of external dependencies, thus increasing the time required for the execution of tests.
In this phase, we are in the green state. All the tests are passing and the application behaves as we expect it to behave.
推薦閱讀
- 數據科學實戰手冊(R+Python)
- 多媒體CAI課件設計與制作導論(第二版)
- 精通Nginx(第2版)
- 嵌入式軟件系統測試:基于形式化方法的自動化測試解決方案
- Mastering Zabbix(Second Edition)
- 解構產品經理:互聯網產品策劃入門寶典
- DevOps for Networking
- Java:Data Science Made Easy
- Gradle for Android
- Learning JavaScript Data Structures and Algorithms
- Multithreading in C# 5.0 Cookbook
- 智能搜索和推薦系統:原理、算法與應用
- GameMaker Essentials
- 分布式數據庫原理、架構與實踐
- Mastering Concurrency in Python