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

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
主站蜘蛛池模板: 临西县| 南靖县| 茶陵县| 马山县| 横峰县| 神木县| 双流县| 望奎县| 轮台县| 怀宁县| 关岭| 昌邑市| 静宁县| 洪湖市| 淳化县| 宁乡县| 成都市| 襄城县| 哈密市| 大兴区| 泰安市| 大足县| 新竹县| 如皋市| 田东县| 毕节市| 麦盖提县| 深泽县| 霍州市| 嘉荫县| 望江县| 汾西县| 惠东县| 铜梁县| 霞浦县| 星子县| 达拉特旗| 华安县| 临西县| 曲靖市| 常宁市|