- 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.
推薦閱讀
- 深入淺出DPDK
- Full-Stack React Projects
- C++ 從入門到項目實踐(超值版)
- Salesforce Reporting and Dashboards
- 微服務從小白到專家:Spring Cloud和Kubernetes實戰
- Spring技術內幕:深入解析Spring架構與設計原理(第2版)
- Lift Application Development Cookbook
- R語言:邁向大數據之路(加強版)
- Learning Nessus for Penetration Testing
- 深入實踐DDD:以DSL驅動復雜軟件開發
- Java EE Web應用開發基礎
- Java高手是怎樣煉成的:原理、方法與實踐
- Oracle Database XE 11gR2 Jump Start Guide
- jQuery EasyUI從零開始學
- Microsoft Hyper-V PowerShell Automation