Source code unit testing using an indexing tool
Abstract
A processing device indexes source code that include test functions that test corresponding functions in the source code. The processing device determines a function in the source code that contains a change, determines a set of functions in the source code that are affected by the change in the function, identifies one or more test functions in the set of functions, and creates a list of identified test functions. The list of identified test functions is a subset of the plurality of test functions to execute for testing the change.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising one or more computing devices having one or more processors coupled with memory-stored executable instructions, which when executed by the one or more processors, cause the method to be performed, comprising: indexing, by the one or more processors, source code comprising a plurality of test functions and a plurality of non-test functions to create index data, wherein the plurality of test functions in the source code test corresponding non-test functions in the source code, and wherein the index data specifies relationships between the plurality of non
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (5)
- Diwan et al. "Automatic Test Case Generation in Object Oriented Programming" International Journal of Electronics and Computer Science Engineering; 2012 [retrieved from http://www.ijecse.org/wp-content/uploads/2012/06/Volume-1Number-3PP-1433-1438.pdf].
- Eder et al. "Selecting Manual Regression Test Cases Automatically Using Trace Link Recovery and Change Coverage" 2014 [retrieved from http://dl.acm.org/citation.cfm?id=2593506].
- LDRA Software Technology, "Delivering Software Quality and Security through Test, Analysis and Requirements Traceability" 2013 [retrieved from http://www.ldra.com/attachments/article/82/LDRA-TBrun v5.2.pdf].
- LDRA Software Technology, “Delivering Software Quality and Security through Test, Analysis and Requirements Traceability” 2013 [retrieved from http://www.ldra.com/attachments/article/82/LDRA—TBrun v5.2.pdf].
- Lunix ManPage, "Linux man page" May 2013, pp. 1-15 <ctags-Oct14.pdf>.