coveragepy / coveragepy/django_coverage_plugin

Some templates not marked as covered

Open
#92 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
202
Forks
38
PR merge metrics
No merged PRs in 30d

Description

I have some templates that just contain and "extends" line that get marked as uncovered, although they clearly are.
For example:
templates/base.html 83%
templates/games/base.html 0%
templates/games/index.html 100%
although the third extends the second, which extends the first.
The "extends" line in the third is marked as covered.

No idea whether this is due to the naming or because the second is so trivial. I did see Issue #61 but couldn't tell whether that's what I'm seeing or not...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the coverage report with templates/base.html, templates/games/base.html, and templates/games/index.html, then compare the behavior with Issue #61. Done means the extending template chain is correctly reflected in coverage results instead of marking the intermediate template as uncovered.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.