Testability and Making the Invisible Visible
Lesson 137 in Cem Kaner, James Bach, and Bret Pettichord’s Lessons Learned in Software Testing [KBP02] says, “Testability is visibility and control.” So a testable system provides both visibility into its inner workings and ample control points to manipulate it.
The challenge is to determine how to monitor and control a system that was not designed with monitoring and control in mind. There are many options for you to try, such as these:
-
You can run operating system monitors such as Activity Monitor on the Mac or Process Monitor in Windows to tell you how the program is using system resources such as CPU and memory and even the libraries the program depends on.
-
You can use programs (or write ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access