DocumentCode
176202
Title
Towards Creating Test Cases Using Code Search
Author
Reiss, Steven P.
Author_Institution
Dept. of Comput. Sci., Brown Univ., Providence, RI, USA
fYear
2014
fDate
Sept. 29 2014-Oct. 3 2014
Firstpage
436
Lastpage
440
Abstract
Testing and testing code are critical to maintaining modern, evolving systems. Yet generating a good set of relevant test cases that covers what is important remains a difficult task. We propose a new approach to generating test cases through the use of code search. Open source repositories have made an enormous amount of code available. These contain unit tests for a wide variety of programs where the programmer has often given substantial thought to what should be tested, what is important to test, and how to test it. Our approach is to extract the relevant tests from on-line repositories and use these as the basis for test cases for user code.
Keywords
program testing; public domain software; software maintenance; code search; evolving systems; open source repositories; test cases; testing code; Conferences; Context; Java; Software; Software engineering; Testing; Unified modeling language; Code search; black box testing; test case generation;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance and Evolution (ICSME), 2014 IEEE International Conference on
Conference_Location
Victoria, BC
ISSN
1063-6773
Type
conf
DOI
10.1109/ICSME.2014.69
Filename
6976113
Link To Document