Institutional Repository
| assertion-directed test case generation | |
| Zeng Fanping; Deng Chaoqiang; Yuan Yuan | |
| 2012 | |
| Conference Name | 2012 3rd World Congress on Software Engineering, WCSE 2012 |
| Source | Proceedings of the 2012 3rd World Congress on Software Engineering, WCSE 2012 |
| Pages | 41-45 |
| Conference Date | November 6, 2012 - November 8, 2012 |
| Conference Place | Wuhan, China |
| Indexed Type | EI |
| ISBN | 9780769548630 |
| Department | (1) School of Computer Science and Technology University of Science and Technology of China Hefei Anhui China; (2) State Key Laboratory of Computer Science Institute of Software Chinese Academy of Sciences Beijing China |
| English Abstract | How to effectively generate test cases is the key to software testing. In our previous research, we applied the program dynamic invariant as feedback to guide test case generation, and that can reduce the redundancy and improve the coverage effectively. However, the repeated extraction of program dynamic invariants significantly increased the burden of test case generation. To address this issue, we present a novel technique that automatically converts program dynamic invariant into assertion and then make use of the assertion to direct the process of test case generation. If the new test case does not violate the assertion (that means the new test case will change the program invariant), then the new case is a valid test case, otherwise it is a redundant invalid test case. This method can avoid the repetition of extracting the same program invariant. Our experimental results indicate that, while not reducing the quality of the generated test cases, the assertion-directed method can greatly reduce the time cost of test case generation. © 2012 IEEE.; How to effectively generate test cases is the key to software testing. In our previous research, we applied the program dynamic invariant as feedback to guide test case generation, and that can reduce the redundancy and improve the coverage effectively. However, the repeated extraction of program dynamic invariants significantly increased the burden of test case generation. To address this issue, we present a novel technique that automatically converts program dynamic invariant into assertion and then make use of the assertion to direct the process of test case generation. If the new test case does not violate the assertion (that means the new test case will change the program invariant), then the new case is a valid test case, otherwise it is a redundant invalid test case. This method can avoid the repetition of extracting the same program invariant. Our experimental results indicate that, while not reducing the quality of the generated test cases, the assertion-directed method can greatly reduce the time cost of test case generation. © 2012 IEEE. |
| Keyword | Software Engineering Testing |
| Sponsorship | Wuhan University of Technology |
| Language | 英语 |
| Content Type | 会议论文 |
| URI | http://ir.iscas.ac.cn/handle/311060/15858 |
| Collection | 中国科学院软件研究所 |
| Recommended Citation GB/T 7714 | Zeng Fanping,Deng Chaoqiang,Yuan Yuan. assertion-directed test case generation[C],2012:41-45. |
| Files in This Item: | There are no files associated with this item. | |||||
Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.
Edit Comment