Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8718041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:26:33+00:00 2026-06-13T06:26:33+00:00

We do coverage reports with the famous and possible the only solution in python

  • 0

We do coverage reports with the famous and possible the only solution in python world i.e. coverage.py

Now,
What we acheive with coverage.py is this :
enter image description here

Where as what we could achieve with ruby-rails is :
enter image description here

So, my question is how do you get more detailed coverage reports with coverage.py ?

[ Or any other tool in the python django world ]

Note:

  • coverage run manage.py test --settings=project.test_settings
  • Generate the report by coverage html
  • Should / Can I pass in extra parameters to coverage while generating report ?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:26:34+00:00Added an answer on June 13, 2026 at 6:26 am

    1) A search box seems useful, no one has ever suggested it before!

    2) Conditional coverage: coverage.py has a –branch switch that enables branch coverage, is this what you are looking for?

    3) Hits/line: is this how many times each line was executed? I’ve never seen it aggregated like this. I don’t understand how I would use that statistic in my own work. Can you help me understand why people want to know the averaged hits/line?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using nose and coverage to generate coverage reports. I only have one package
I just installed the SimpleCov gem to generate code coverage reports on my Rails
Does anyone know of a way to create Code Coverage reports for C#/.NET projects
How do I exclude entire files from coverage.py reports? According to the documentation you
I'm using lcov to generate code coverage reports for a C code base. I
I'm using Hudson to continuously build a Python project. Unit tests and code coverage
I'm generating clover coverage reports (using Clover's maven plugin), and I'd like to exclude
My unit tests are being executed and reports written, however the coverage reports are
We've got a multiproject we're trying to run Cobertura test coverage reports on as
I'm using the maven cobertura plugin to generate coverage reports, but for some reason,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.