Coupling Analysis and Visualization of KDT Scripts

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...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Journal of Information Science and Engineering 2018-09, Vol.34 (5), p.1119-1139
Hauptverfasser: 劉建宏(CHIEN-HUNG LIU), 陳偉凱(WOEI-KAE CHEN)
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung: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.
ISSN:1016-2364
DOI:10.6688/JISE.201809_34(5).0002