Closed tedder closed 8 years ago
I had the same issues when I did #29 . I thought it's a problem from pycov in combination with tox because tox moves the code base to a tmp location - and thus doesn't file it's files anymore. I could fix it with the usedevelop=True
in tox.
I suggest you wait until #29 is merged or rejected ..
You can run the tests, including coverage, simply by running make test
.
(which executes: py.test --tb=short -v --cov twtxt/ tests/
)
This works fine for me and provides correct results.
Don’t see why you think your result is incorrect, either.
aha, both those commands work, they don't have the "warning: No data was collected" message.
I'm hoping someone here can point me in the right direction- I can bump up the unit test coverage if I can get pycov working.
This one gives approximately the same coverage percent (13%) as the repo shows, but is obviously incorrect: