Code coverage test selection
    1.
    发明申请

    公开(公告)号:US20060277439A1

    公开(公告)日:2006-12-07

    申请号:US11142155

    申请日:2005-06-01

    IPC分类号: G06F11/00

    CPC分类号: G06F11/3676

    摘要: A system and method for testing modified code paths without testing unmodified code paths is described. During testing of the baseline build of a program, code coverage data is generated. The code coverage data identifies which test implicates which code path of the baseline build. When a modification of the baseline build is made, the modified build may be differentiated to determine what code of the modified build was changed. When the modified build is differentiated, the code coverage data for the modified code path is mapped to appropriate tests. The tests may then be used to test the changed code path without requiring testing of all the code paths of the modified build.

    Centralized code coverage data collection
    2.
    发明申请
    Centralized code coverage data collection 审中-公开
    集中代码覆盖数据收集

    公开(公告)号:US20070234309A1

    公开(公告)日:2007-10-04

    申请号:US11395087

    申请日:2006-03-31

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3676 G06F11/3644

    摘要: Code coverage data may be provided. An instrumented image may be created comprising a binary executable software module that may be populated with coverage code injected into the binary executable software module. A request for the instrumented image may be received and the instrumented image may be provided based upon the received request. In addition, the code coverage data may be received from the instrumented image. The code coverage data produced by the instrumented image may be executed during a test of the binary executable software module. The coverage code may be configured to produce the code coverage data configured to indicate what code within the binary executable software module was used during the test. The code coverage data may be analyzed and the binary executable software module may be optimized based on the code coverage data.

    摘要翻译: 可以提供代码覆盖数据。 可以创建包括二进制可执行软件模块的检测图像,该二进制可执行软件模块可以填充注入到二进制可执行软件模块中的覆盖代码。 可以接收对被检测图像的请求,并且可以基于接收到的请求来提供被检测的图像。 此外,可以从被检测的图像接收代码覆盖数据。 可以在二进制可执行软件模块的测试期间执行由被检测的图像产生的代码覆盖率数据。 覆盖代码可以被配置为产生代码覆盖率数据,其被配置为指示在测试期间使用二进制可执行软件模块内的什么代码。 可以分析代码覆盖率数据,并且可以基于代码覆盖数据来优化二进制可执行软件模块。