官术网_书友最值得收藏!

Chapter 3. Testability – Writing Testable Code

In the previous chapter, we covered a very important architectural attribute of software, namely, modifiability, and its related aspects. In this chapter, the topic is a closely related quality attribute: testability of software.

We briefly covered testability in the first chapter of this book, where we understood what testability is, and how it relates to the complexity of the code. In this chapter, we will look into the different aspects of software testability in detail.

Software testing by itself has developed into a large field with its own standards and unique set of tools and processes. The focus of this chapter is not to cover the formal aspects of software testing. Instead, what we will strive to do here is to understand software testing from an architectural perspective and understand its relation to the other quality attributes and, in the second half of this chapter, discuss the Python tools and libraries relevant to our discussion on software testing using Python.

We will cover the following topics in this chapter:

  • Understanding testability
  • White-box testing principles
  • Test-driven development
  • TDD with palindromes
主站蜘蛛池模板: 泰兴市| 炎陵县| 淄博市| 河曲县| 合作市| 九龙县| 二连浩特市| 泰和县| 赞皇县| 海阳市| 富平县| 图木舒克市| 梁山县| 中宁县| 河曲县| 集安市| 南安市| 安丘市| 健康| 义乌市| 临桂县| 大荔县| 巩留县| 镇巴县| 邻水| 武鸣县| 武清区| 成安县| 高碑店市| 科技| 石家庄市| 靖宇县| 南投市| 伊金霍洛旗| 包头市| 布尔津县| 镇巴县| 平邑县| 青浦区| 扎囊县| 凤凰县|