摘要 |
Various technologies and techniques are disclosed for providing code coverage for scripts. A code coverage process is provided that measures the code coverage of a script while the script executes. An instrumenting process injects code into the script to track which lines were executed. The script is executed with the injected code that allows code coverage results to be gathered. The code coverage results are output so they can be further analyzed. A graphical tool that was only intended to display coverage data from compiled code can be enabled to also display coverage data from a script. A code coverage application is provided that was only designed to display coverage data gathered from executions of compiled code. The code coverage application can display coverage data from scripts by providing a script code coverage process that writes coverage data in a coverage data format understood by the code coverage application.
|