JISE


  [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ]


Journal of Information Science and Engineering, Vol. 34 No. 5, pp. 1119-1139


Coupling Analysis and Visualization of KDT Scripts


CHIEN-HUNG LIU AND WOEI-KAE CHEN
Department of Computer Science and Information Engineering
National Taipei University of Technology
Taipei, 106 Taiwan
E-mail: {cliu; wkchen}@ntut.edu.tw


  In keyword-driven testing (KDT), a test case depends on a number of keywords, and a keyword depends on some other keywords or GUI components (widgets). Such dependency is also known as the coupling between test cases, keywords, and components. This paper proposes a coupling measure called unweighted coupling and a visualization tool called KTV (Keyword-driven Test script Visualizer) with which the structure of KDT scripts can be quickly grasped. A case study is conducted to assess the maintainability of KDT scripts with various degrees of couplings. The results indicate that, when maintaining KDT scripts, a low-coupling script required, on average, less changes than a high-coupling one. In addition, the estimated change impact offered by KTV was highly correlated with the actual maintenance cost. Thus, in general, the low-coupling principle holds for KDT scripts and can be important to a tester who needs to constantly develop/maintain KDT scripts.


Keywords: keyword-driven testing, coupling, maintainability, readability, visualization, software data analysis

  Retrieve PDF document (JISE_201805_02.pdf)