Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

coverage reporting #77

Open
Autoplectic opened this Issue · 5 comments

3 participants

@Autoplectic

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
Owner

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

If so I still should probably document it.

@dag
Owner
dag commented

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

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

@dag
Owner

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.