Abstract

Software testing is a very labor intensive and costly task. Therefore, many software testing techniques to automate the process of software testing have been reported in the literature. Assertion-Based automated software testing has been shown to be effective in detecting program faults as compared to traditional black-box and white-box software testing methods. However, the applicability of this approach in the presence of large numbers of assertions may be very costly. Therefore, software developers need assistance while making decision to apply Assertion-Based testing in order for them to get the benefits of this approach at an acceptable level of costs. In this paper, we present an Assertion-Based testing metrics technique that is based on fuzzy logic. The main goal of the proposed technique is to enhance the performance of Assertion-Based software testing in the presence of large numbers of assertions. To evaluate the proposed technique, an experimental study was performed in which the proposed technique is applied on programs with assertions. The result of this experiment shows that the effectiveness and performance of Assertion-Based software testing have improved when applying the proposed testing metrics technique.

Highlights

  • Software testing is a very labor intensive and costly task

  • Programmers usually start by testing software using black-box methods against a given specification. By their nature blackbox testing methods might not lead to the execution of all parts of the code

  • We present an Assertion-Based testing metrics technique that is based on fuzzy logic techniques [10]

Read more

Summary

Introduction

Software testing is a very labor intensive and costly task. Theretofore, many software testing techniques to automate the process of software testing have been reported in the literature, for example, [1,2,3,4,5,6,7,8]. To increase the possibility of uncovering program faults, white-box testing is used to ensure that an acceptable coverage has been reached, for example, branch coverage It has been reported in [4] that Assertion-Based software testing is effective in detecting program faults as compared to traditional black-box and white-box software testing methods. Assertion-Based testing is a promising approach in terms of detecting program’s faults, the applicability of this approach in the presence of larger numbers of assertions may be costly This cost is related to search time required for finding a test data to violate such a large number of. The main goal of the proposed technique is to enhance the performance of Assertion-Based software testing in the presence of large numbers of assertions.

Assertion-Based Software Testing
Related Work
Assertion-Based Software Testing Metrics
Experimental Study
Findings
Conclusions and Future Work
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call