Visible to the public A Testing Method for Object-oriented Program based on Adaptive Random Testing with Variable Probability

TitleA Testing Method for Object-oriented Program based on Adaptive Random Testing with Variable Probability
Publication TypeConference Paper
Year of Publication2021
AuthorsLv, Tianxiang, Bao, Qihao, Chen, Haibo, Zhang, Chi
Conference Name2021 IEEE 21st International Conference on Software Quality, Reliability and Security Companion (QRS-C)
Keywordsadaptive random testing, composability, Conferences, Costs, Measurement, Metrics, object oriented security, Object-oriented Program, Probability density function, pubcrawl, Resiliency, Software algorithms, software quality, Subspace constraints
AbstractObject-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.
DOI10.1109/QRS-C55045.2021.00171
Citation Keylv_testing_2021