Universiti Teknologi Malaysia Institutional Repository

Test case generation technique for concurrency in activity diagram

Abdul Rahman, Nur Syafiqah Zahirah and Abang Jawawi, Dayang Norhayati (2018) Test case generation technique for concurrency in activity diagram. Masters thesis, Universiti Teknologi Malaysia.

[img]
Preview
PDF
3MB

Official URL: http://dms.library.utm.my:8080/vital/access/manage...

Abstract

Presently, the application of Model-Based Testing (MBT) using Unified Modelling Language (UML) has attracted the attention of many practitioners to use UML diagrams for generation of test cases. By using this technique, early detection of faults can be achieved at the design phase. However, some UML diagrams have limitations in generating test cases such as the need for a loop combination fragment to describe looping, iteration process and combination fragment with the par operator to interpret concurrency activities. To overcome these issues, a feature analysis was conducted to observe the outcome of test case generation using similar cases but, by using different techniques and UML diagrams. Based on the results, a guideline for selecting UML diagrams in the generation of test cases based on the different features of software system in the cases was developed. However, system design of concurrent software is complex, leading to issues in system testing such as synchronization, non-deterministic, path explosion and deadlock. In this research, an enhancement of the generate-activity-paths algorithm as a test case generation technique was developed to solve the non-deterministic problem of concurrent system. As the test cases are generated in a random order, a prioritization technique using genetic algorithm was applied to find the critical path that must be tested first from the test paths produced. The technique was implemented on the Conference Management System case study and evaluated using cyclomatic complexity, branch coverage, mutation analysis and average percentage of fault detected (APFD) to measure the effectiveness and quality of the test cases in comparison to those using the original technique. Results indicated that the technique achieved 100% basis path and branch coverage criteria similar to the original technique. Moreover, it is also capable of revealing non-deterministic faults by injecting concurrency coverage criteria into the test paths, which was not possible using the original technique. Additionally, prioritization of test paths yielded an APFD value of 43% which is better and higher than the non-prioritized test paths (22%). This result signified that the usage of prioritization technique leads to an improve detection rate of severe faults as compared to applying random order.

Item Type:Thesis (Masters)
Uncontrolled Keywords:UML diagrams, Model-Based Testing (MBT)
Subjects:T Technology > T Technology (General)
Divisions:Computing
ID Code:98331
Deposited By: intern1 intern1
Deposited On:07 Dec 2022 07:31
Last Modified:07 Dec 2022 07:31

Repository Staff Only: item control page