- 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.
- DevOps with Kubernetes
- Mobile Application Development:JavaScript Frameworks
- GitLab Repository Management
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- Podman實(shí)戰(zhàn)
- Python機(jī)器學(xué)習(xí)算法與實(shí)戰(zhàn)
- 程序是怎樣跑起來的(第3版)
- 劍指Java:核心原理與應(yīng)用實(shí)踐
- C語言程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo) (第2版)
- Building Android UIs with Custom Views
- Lighttpd源碼分析
- Continuous Delivery and DevOps:A Quickstart Guide Second Edition
- 零基礎(chǔ)學(xué)Java第2版
- ArcPy and ArcGIS(Second Edition)
- 大話代碼架構(gòu):項(xiàng)目實(shí)戰(zhàn)版