Turkish Journal of Electrical Engineering and Computer Sciences
DOI
10.3906/elk-1801-18
Abstract
Path-oriented random testing aims at generating a uniformly distributed sequence of test data from a program input domain space to traverse a desired execution path of the program. To this aim, this article proposes a new algorithm to refine a program inputs domain space from invalid subdomains not covering the path. The validity of the subdomains is checked by a constraint propagation method against the path constraints (PCs). The proposed algorithm uses a divide and conquer technique to iteratively split the inputs domain into subdomains and each time refutes those subdomains that are inconsistent with the PCs. The remaining shrunken subdomains provide all possible test data covering the desired path. Obviously, the more accurate the input domain is, the more effective test data will result. Experiments show the proposed method outperformed other related methods on a set of classical benchmark programs.
Keywords
Test data generation, random testing, path-oriented random testing, constraint propagation
First Page
2666
Last Page
2680
Recommended Citation
NIKRAVAN, ESMAEEL and PARSA, SAEED
(2019)
"Path-oriented random testing through iterative partitioning (IP-PRT),"
Turkish Journal of Electrical Engineering and Computer Sciences: Vol. 27:
No.
4, Article 22.
https://doi.org/10.3906/elk-1801-18
Available at:
https://journals.tubitak.gov.tr/elektrik/vol27/iss4/22
Included in
Computer Engineering Commons, Computer Sciences Commons, Electrical and Computer Engineering Commons