Title | A Testing Method for Object-oriented Program based on Adaptive Random Testing with Variable Probability |
Publication Type | Conference Paper |
Year of Publication | 2021 |
Authors | Lv, Tianxiang, Bao, Qihao, Chen, Haibo, Zhang, Chi |
Conference Name | 2021 IEEE 21st International Conference on Software Quality, Reliability and Security Companion (QRS-C) |
Keywords | adaptive random testing, composability, Conferences, Costs, Measurement, Metrics, object oriented security, Object-oriented Program, Probability density function, pubcrawl, Resiliency, Software algorithms, software quality, Subspace constraints |
Abstract | Object-oriented program (OOP) is very popular in these years for its advantages, but the testing method for OOP is still not mature enough. To deal with the problem that it is impossible to generate the probability density function by simply numeralizing a point in the test case caused by the complex structure of the object-oriented test case, we propose the Adaptive Random Testing through Test Profile for Object-Oriented software (ARTTP-OO). It generates a test case at the edge of the input field and calculates the distance between object-oriented test cases using Object and Method Invocation Sequence Similarity (OMISS) metric formula. And the probability density function is generated by the distance to select the test cases, thereby realizing the application of ARTTP algorithm in OOP. The experimental results indicate the proposed ARTTP-OO consumes less time cost without reducing the detection effectiveness. |
DOI | 10.1109/QRS-C55045.2021.00171 |
Citation Key | lv_testing_2021 |