Understandability of concrete versus parametric test cases

Document type: Conference Papers
Peer reviewed: Yes
Author(s): Touseef Tahir, Ali Jafar, Mohan Maharajan
Title: Understandability of concrete versus parametric test cases
Conference name: International Conference on Frontiers of Information Technology, FIT
Year: 2011
ISBN: 78-076954625-4
City: Islamabad
URI/DOI: 10.1109/FIT.2011.46
Organization: Blekinge Institute of Technology
Department: School of Computing (Sektionen för datavetenskap och kommunikation)
School of Computing S-371 79 Karlskrona
+46 455 38 50 00
Language: English
Abstract: One of the possibilities to support automated software testing is to write more general test cases. Given a general (parameterized test case), that holds in many situations, software can generate many different test instances and execute them automatically. Thus, even though the developers write fewer and smaller tests they can test more. However, other effects of application of generalized test cases are not clear. One hypothesis is that "More general test cases are harder to understand than concrete ones and thus would lead to overall tests that are harder to understand". Software understandablity can be defined as the system that is written by one person and it is easy to read and understand by another person easily without any confusion and misconception. However, software understandablity is hard to measure because understandablity also depends on the cognitive behaviour of human. Software understandablity assists in software reusability and software maintainability.
Subject: Software Engineering\General
Keywords: esting, Parameterized testing, Understandablity, Unit testing