Coverage
for Windows and Linux
for OS X
Ctrl+Alt+S
Use this page to define the way the coverage data will be processed.
Item | Description |
---|---|
When new coverage is gathered | |
Show options before applying coverage to the editor | Choose this option to show the Code Coverage dialog every time you launch a new run configuration with code coverage. The coverage options dialog is displayed, when different coverage data have been produced. |
Do not apply collected coverage | Choose this option to cancel applying the new code coverage results. |
Replace active suites with the new one | Choose this option to have the active suites replaced with the new one every time you launch a new run configuration with code coverage. |
Add to active suites | Choose this option to have the new code coverage suite added to the active suites every time you launch a new run configuration with code coverage. |
Activate coverage view | Select this check box to have the Coverage tool window opened automatically when an application or test is run with coverage. |
Python coverage | |
Use bundled coverage.py | If this check box is selected, IntelliJ IDEA will use the bundled coverage.py .If this check box is not selected, IntelliJ IDEA will use the coverage tool included in the selected Python interpreter. Refer to the section Code Coverage for details. |
Branch coverage | This check box enables branch coverage in coverage.py tool.
Thus additional information to
the pure line coverage reports is added, marking the coverage of lines with conditional statements as
incomplete in case one or more branches haven’t been executed:
Refer to this page for details. |
See Also
Last modified: 21 March 2017