- Software Architecture with Python
- Anand Balachandran Pillai
- 188字
- 2021-07-02 23:29:57
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
- Python編程自學(xué)手冊(cè)
- 數(shù)據(jù)結(jié)構(gòu)簡(jiǎn)明教程(第2版)微課版
- C語言程序設(shè)計(jì)
- Hands-On RESTful Web Services with Go
- 軟件項(xiàng)目管理實(shí)用教程
- Java程序設(shè)計(jì):原理與范例
- 大學(xué)計(jì)算機(jī)基礎(chǔ)實(shí)驗(yàn)指導(dǎo)
- 分布式數(shù)據(jù)庫(kù)原理、架構(gòu)與實(shí)踐
- Machine Learning for Developers
- 大學(xué)計(jì)算機(jī)基礎(chǔ)實(shí)驗(yàn)指導(dǎo)
- C語言從入門到精通
- Microsoft Exchange Server 2016 PowerShell Cookbook(Fourth Edition)
- Raspberry Pi Blueprints
- Java程序設(shè)計(jì)基礎(chǔ)教程
- Learning SaltStack(Second Edition)