0

I want to make a matrix that looks like the following test coverage matrix

Currently I'm trying to acquire the above matrix for Django test cases. However, coverage.py(the coverage tool that I'm using) doesn't seem to support such feature of acquiring test coverage matrix. Is there any other way?

2
  • The matrix seems kind of vague to me. Does "cost of ticking things off" mean, "how long it takes to run those tests"? I don't understand "Things to tick off"? You don't run separate tests to find the statement coverage vs. the branch coverage. You'll need to explain more about what this matrix means, and maybe what you will do with the information. Commented Dec 7, 2016 at 13:57
  • 1
    Sorry for the vague explanation. "cost of ticking things off" does mean, "how long it takes to run those tests". "Things to tick off" could be either branches or just lines that were covered in the test. I wanted to make this matrix because I wanted to do test suite minimization for django and I first need to find out which tests cover which part. I figured out that there are no features in coverage.py and I created my own program that can generate test coverage matrix. The project is located at (github.com/gnsrla12/python_test_coverage_matrix) Commented Dec 8, 2016 at 1:42

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.