- 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.
推薦閱讀
- jQuery Mobile Web Development Essentials(Third Edition)
- R語言數據分析從入門到精通
- UML和模式應用(原書第3版)
- 密碼學原理與Java實現
- Python for Secret Agents:Volume II
- 架構不再難(全5冊)
- C++ 從入門到項目實踐(超值版)
- Getting Started with NativeScript
- Python深度學習:基于TensorFlow
- PySpark Cookbook
- Elasticsearch Essentials
- Python大規模機器學習
- iOS開發項目化入門教程
- SEO教程:搜索引擎優化入門與進階(第3版)
- Visual C++從入門到精通(第2版)