Test Case and Requirement Selection Using Rough Set Theory and Conditional Entropy

The growing size and complexity of the software system makes testing essential in software engineering. In particular, the effectiveness of generating test cases becomes a crucial task, where there is an increment of source codes and a rapid change of the requirements. Therefore, the selection of effective test cases becomes problematic, when the test cases are redundant and having common requirements. Thus, new challenges arose to reduce the unnecessary test cases and find common requirements that would increase the cost and maintenance of the software testing process. To address this issue, this study proposed a technique that minimized the test cases and requirement attributes, without compromising on fault detection capability. The proposed technique, using Rough Set Theory-Similarity Relation, was used to reduce the size of the test cases. Subsequently, a new approach, known as Conditional Entropy-Based Similarity Measure, was introduced to obtain a minimum subset of requirements. It was anticipated that, the technique applied would contribute significantly towards solving the testing problems, since testers would no longer be required to select an arbitrary test suite on test runs. The proposed technique was found to have achieved up to 50% reduction of the processing time, as compared with the base-line techniques, such as, MFTS Algorithm, FLOWER, RZOLTAR and Weighted Greedy Algorithm.

[1]  Mustafa Mat Deris,et al.  A new limited tolerance relation for attribute selection in incomplete information systems , 2015, 2015 12th International Conference on Fuzzy Systems and Knowledge Discovery (FSKD).

[2]  Rajendra Prasad Mahapatra,et al.  Improving the Effectiveness of Software Testing through Test Case Reduction , 2008 .

[3]  Shengwei Xu,et al.  Test Suite Reduction Using Weighted Set Covering Techniques , 2012, 2012 13th ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing.

[4]  Chongzhao Han,et al.  A Novel Approach Based on Rough Conditional Entropy for Attribute Reduction , 2014 .

[5]  Saeed Parsa,et al.  On the Optimization Approach towards Test Suite Minimization , 2010 .

[6]  Raju Nedunchezhian,et al.  Towards test suite reduction using maximal frequent data mining concept , 2015, Int. J. Comput. Appl. Technol..

[7]  Hsu Mon Maung,et al.  Entropy Based Test Cases Reduction Algorithm for User Session Based Testing , 2015, ICGEC.

[8]  Mary Lou Soffa,et al.  A methodology for controlling the size of a test suite , 1993, TSEM.

[9]  Arnaud Gotlieb,et al.  FLOWER: optimal test suite reduction as a network maximum flow , 2014, ISSTA 2014.

[10]  Rui Abreu,et al.  Leveraging a Constraint Solver for Minimizing Test Suites , 2013, 2013 13th International Conference on Quality Software.

[11]  Li Tan,et al.  Test criteria for model-checking-assisted test case generation: A computational study , 2012, 2012 IEEE 13th International Conference on Information Reuse & Integration (IRI).