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

Coverage

Last modified: 21 June 2023

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.

For the detailed instructions on running and analyzing code coverage, see Running with coverage and Viewing code coverage results.