Skip to content

coverage reporting #77

Autoplectic opened this Issue Feb 13, 2011 · 5 comments

3 participants


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

dag commented Feb 13, 2011

Doesn't it though work to simply do coverage run

If so I still should probably document it.

dag commented May 8, 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.

dqminh commented May 15, 2011

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

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.