Transforming unit tests for security testing
Abstract
A method, computer program product, and system for transforming unit tests is described. A unit test associated with one or more software units is identified. A first input parameter of the unit test is identified. A substitute parameter value is determined, wherein the substitute parameter value is associated with a security test for the one or more software units. A value of the first input parameter in the unit test is replaced with the substitute parameter value. The unit test including the substitute parameter value is implemented for the one or more software units. A first security issue associated with the one or more software units is identified, based upon, at least in part, replacing the first input parameter of the unit test with the substitute parameter value and implementing the unit test including the substitute parameter value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer program product residing on a non-transitory computer-readable storage medium having a plurality of instructions stored thereon, which, when executed by a processor, cause the processor to perform operations comprising: identifying a unit test associated with one or more software units; identifying a first input parameter of the unit test using program slicing; determining a substitute parameter value, wherein the substitute parameter value is associated with a security test for the one or more software units; replacing a value of the first input parameter in the unit test with the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (35)
Non-Patent Literature (5)
- "IBM Security AppScan Family, Application Security Testing and Risk Management," http://www-01.ibm.com/software/awdtools/appscan/downloaded Sep. 18, 2012, pp. 1-2.
- "Revert to Console," http://www.reverttoconsole.com/blog/spring/spring-security-3-unit-testing-example-with-dbunit/ downloaded on Sep. 18, 2012, pp. 1-28.
- Brillout et al., Mutation-Based Test Case Generation for Simulink Models, http://www.mathworks.com/rpoducts/simulink/downloaded Sep. 18, 2012, pp. 1-34.
- Harman et al., "An Overview of Program Slicing," http://www.cs.ucl.ac.uk/staff/mharman/sf.html, downloaded Sep. 18, 2012, pp. 1-34.
- Jakarta Cactus-EJB Testing with J2EE RI, http://jakarta.apache.org/cactus/writing/howto-ejb-j2eeri.html, Aug. 5, 2011, pp. 1.