Skip to content
This repository

coverage reporting #77

Open
Autoplectic opened this Issue February 13, 2011 · 5 comments

3 participants

Ryan James Dag Odenhall Daniel, Dao Quang Minh
Ryan James

attest should have some way to report test coverage, probably using coverage.py. this is generally a very useful metric and so for attest to gain some real traction needs to support it.

Dag Odenhall
Owner

Doesn't it though work to simply do coverage run runtests.py?

If so I still should probably document it.

Dag Odenhall
Owner
dag commented May 08, 2011

With the new attest command it isn't obvious how to measure coverage. These should work:

coverage run -mattest
coverage run $(which attest)

These solutions should be documented as well.

Daniel, Dao Quang Minh
dqminh commented May 14, 2011

Running coverage run -mattest gives me this error: no such option -m. My attest version is 0.5.2.

Dag Odenhall
Owner
dag commented May 15, 2011

You are quite right, I noticed this too. The coverage docs claim -m is supposed to work but I get the same error. It does however work fine if you point it to a scriptfile that runs the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.