- Test-Driven Java Development(Second Edition)
- Alex Garcia Viktor Farcic
- 106字
- 2021-06-24 18:31:51
Running all the tests and confirming that the last one is failing
Confirming that the last test is failing, confirms that the test would not, mistakenly, pass without the introduction of a new code. If the test is passing, then the feature already exists or the test is producing a false positive. If that's the case and the test actually always passes independently of the implementation, it is, in itself, worthless and should be removed.
A test must not only fail, but must fail for the expected reason. In this phase, we are still in the red stage. Tests were run and the last one failed.
推薦閱讀
- Kubernetes實戰
- 前端跨界開發指南:JavaScript工具庫原理解析與實戰
- Mastering Python Scripting for System Administrators
- PyTorch自然語言處理入門與實戰
- Java程序設計與計算思維
- Building a Recommendation Engine with Scala
- Java程序設計與實踐教程(第2版)
- ArcGIS By Example
- Getting Started with Greenplum for Big Data Analytics
- 深度學習:Java語言實現
- C++從入門到精通(第6版)
- UML基礎與Rose建模實用教程(第三版)
- MySQL數據庫教程(視頻指導版)
- 軟技能2:軟件開發者職業生涯指南
- OpenCL異構并行計算:原理、機制與優化實踐