Skip to content

Coverage report explained

msporna edited this page Jan 7, 2019 · 3 revisions

Here is an explanation what the coverage report consists of:

You can also see which exact lines of instrumented files were executed. To do such, look for a file you want to see under 'Coverage by file' and click on it. You will get a popup:

Scroll the code and look for lines highlighted in green. Each executed line sits in some web app's function, so by knowing which line was executed, you get exact function name triggered by your tests. Code lines that were missed during your testing are highlighted in yellow.

The last section of the report is timeline table showing all sources and executed line numbers one by one. The sources in that table are sorted ascending by execution time. You can use this functionality to for instance check if app flow triggered by your testing is as expected or to reproduce some issue.