Object distance and its application to adaptive random testing of object-oriented programs

Author(s):  
Ilinca Ciupa ◽  
Andreas Leitner ◽  
Manuel Oriol ◽  
Bertrand Meyer
Author(s):  
Jinfu Chen ◽  
Patrick Kwaku Kudjo ◽  
Zufa Zhang ◽  
Chenfei Su ◽  
Yuchi Guo ◽  
...  

Finding an effective method for testing object-oriented software (OOS) has proven elusive in the software community due to the rapid development of object-oriented programming (OOP) technology. Although significant progress has been made by previous studies, challenges still exist in relation to the object distance measurement of OOS using Adaptive Random Testing (ART). This is partly due to the unique features of OOS such as encapsulation, inheritance and polymorphism. In a previous work, we proposed a new similarity metric called the Object and Method Invocation Sequence Similarity (OMISS) metric to facilitate multi-class level testing using ART. In this paper, we broaden the set of models in the metric (OMISS) by considering the method parameter and adding the weight in the metric to develop a new distance metric to improve unit testing of OOS. We used the new distance metric to calculate the distance between the set of objects and the distance between the method sequences of the test cases. Additionally, we integrate the new metric in unit testing with ART and applied it to six open source subject programs. The experimental result shows that the proposed method with method parameter considered in this study is better than previous methods without the method parameter in the case of the single method. Our finding further shows that the proposed unit testing approach is a promising direction for assisting software engineers who seek to improve the failure-detection effectiveness of OOS testing.


2019 ◽  
Vol 62 (11) ◽  
Author(s):  
Jinfu Chen ◽  
Minmin Zhou ◽  
T. H. Tse ◽  
Tsong Yueh Chen ◽  
Yuchi Guo ◽  
...  

Utilization of the Internet management in Service Oriented Architecture (SOA) is creating in the remaining lanes are no longer many years.The nature clean administration and procedures is essential to the success of SOA applications and try is both broad affirmation. Today tried the strategy in the SOA web administration will not last inspection technique computerized check results. In this exploration, Adaptive Random Testing for Object Oriented (Artoo) proposed in SOA to improve survival through mechanization we see the results of affirmation. Separation metric imaginable between items in the Adaptive Random Testing (ART) for mechanization try articles set programming. The proposed strategy is classified in the framework of state financial institutions to break up the flow of survival. The proposed approach was investigated as far as locating and deficiencies in handling time. shows the proposed method shows the adequacy deficiency findings and the reaction time is estimated as 3ms.


2021 ◽  
pp. 102743
Author(s):  
Rubing Huang ◽  
Weifeng Sun ◽  
Haibo Chen ◽  
Chenhui Cui ◽  
Ning Yang

2015 ◽  
Vol 67 ◽  
pp. 13-29 ◽  
Author(s):  
Rubing Huang ◽  
Huai Liu ◽  
Xiaodong Xie ◽  
Jinfu Chen

Sign in / Sign up

Export Citation Format

Share Document