- C# and .NET Core Test Driven Development
- Ayobami Adewole
- 135字
- 2021-06-25 22:00:30
Refactoring
To achieve full code coverage, both the tests and the source code have to be refactored and tested several times to ensure that a robust and clean code is written. Refactoring should be iterative until full coverage is achieved. The refactoring step should remove duplicates from code and attempt to fix any signs of code smell.
The essence of TDD is to write clean code and in turn solid applications, depending on the type of tests being written (unit, acceptance, or integration tests). Refactoring can be localized to just a method or it can affect multiple classes. When refactoring, for example, an interface or multiple methods in a class, it is recommended you make the changes gradually, taking it one test at a time until all the tests and their implementation code are refactored.
- C++ Primer習題集(第5版)
- OpenCV 3和Qt5計算機視覺應用開發
- MATLAB應用與實驗教程
- OpenStack Cloud Computing Cookbook(Fourth Edition)
- Silverlight魔幻銀燈
- Java程序設計:原理與范例
- 愛上micro:bit
- Java EE企業級應用開發教程(Spring+Spring MVC+MyBatis)
- Mastering Concurrency Programming with Java 9(Second Edition)
- C++程序設計教程
- Getting Started with Electronic Projects
- JavaScript前端開發基礎教程
- 分布式系統架構與開發:技術原理與面試題解析
- Access 2016數據庫應用與開發:實戰從入門到精通(視頻教學版)
- 熱處理常見缺陷分析與解決方案