PyCharm
 
2021.1
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

CoverageProfessional

Last modified: 18 May 2021

File | Settings | Build, Execution, Deployment | Coverage for Windows and Linux

PyCharm | Preferences | Build, Execution, Deployment | Coverage for macOS

Ctrl+Alt+S the Settings/Preferences icon

Code coverage in PyCharm allows you to perform on-the-fly line coverage measuring for your code with low runtime overhead. In general, line coverage answers the question, "Was this line of code executed during unit testing simulation?"

Use this page to configure how coverage data is collected and processed.