[Paper Review] What we know about software testability: a survey.
This paper presents a systematic literature mapping of 208 studies on software testability, identifying key metrics, techniques, and factors—particularly observability and controllability—that influence testability. It synthesizes current practices for measuring and improving testability, offering actionable insights for practitioners and researchers to enhance testing efficiency and effectiveness in software projects.
Software testability is the degree to which a software system or a unit under test supports its own testing. To predict and improve software testability, a large number of techniques and metrics have been proposed by both practitioners and researchers in the last several decades. Reviewing and getting an overview of the entire state-of-the-art and -practice in this area is often challenging for a practitioner or a new researcher. Our objective is to summarize the state-of-the-art and -practice in this area and to benefit the readers (both practitioners and researchers) in preparing, measuring and improving software testability. To address the above need, we conducted a survey in the form of a systematic literature mapping (classification) in this area. After compiling an initial pool of 303 papers, a systematic voting was conducted among the authors, and our final pool included 208 papers. The area of software testability has been comprehensively studied by researchers and practitioners. Approaches for measurement of testability and improvement of testability are the most-frequently addressed in the papers. The two most often mentioned factors affecting testability are observability and controllability. Common ways to improve testability are testability transformation, improving observability, adding assertions, and improving controllability. The results could help practitioners measure and improve software testability in their projects. To assess potential benefits of this review paper, we shared its draft version with two of our industrial collaborators. They mentioned that they found the review useful and beneficial in their testing activities. Our results can also benefit researchers in observing the trends in this area and identify the topics which need further investigations.
Motivation & Objective
- To provide a comprehensive overview of the current state-of-the-art and state-of-practice in software testability for both researchers and practitioners.
- To identify the most frequently addressed approaches in testability measurement and improvement within software systems.
- To highlight the core factors affecting testability, such as observability and controllability, based on empirical literature.
- To support practitioners in measuring and improving testability in real-world software projects through evidence-based techniques.
- To guide researchers in identifying gaps and emerging trends in testability research for future investigation.
Proposed method
- Conducted a systematic literature mapping (SLM) to classify and analyze research on software testability.
- Compiled an initial pool of 303 papers from relevant academic databases and sources.
- Applied a systematic voting process among authors to filter and select 208 high-quality, relevant papers.
- Classified papers based on themes such as testability measurement, improvement techniques, and influencing factors.
- Synthesized findings on commonly used metrics, transformation techniques, and key testability factors.
- Validated the usefulness of the review with industrial collaborators to ensure practical relevance.
Experimental results
Research questions
- RQ1What are the most frequently studied approaches to measuring software testability in the literature?
- RQ2Which factors most significantly affect software testability, and how are they addressed in existing research?
- RQ3What are the most common techniques used to improve software testability in practice?
- RQ4How do current research trends in testability align with industrial needs and practices?
- RQ5What gaps and opportunities exist for future research in software testability?
Key findings
- The two most frequently mentioned factors affecting testability are observability and controllability.
- Testability transformation, improving observability, adding assertions, and enhancing controllability are the most common improvement strategies.
- Measurement of testability and improvement of testability are the two most frequently addressed topics in the literature.
- The review was found useful and beneficial by industrial collaborators, indicating strong practical relevance.
- The results provide a consolidated foundation for both practitioners to apply testability techniques and researchers to identify underexplored research directions.
- The systematic mapping process successfully identified and classified 208 relevant papers, ensuring a comprehensive and reliable overview of the field.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.