redhat-qe-security / SCAutolib

Library for automation of smart card testing
GNU General Public License v3.0
3 stars 10 forks source link

Update tox environments: add env for generating coverage #59

Closed x00Pavel closed 2 years ago

x00Pavel commented 2 years ago

For better development experience, I've added a new tox environment for generating coverage reports in HTML. So now full library test coverage can be generated with tox -e coverage and coverage directory would be created in project root dir. To view the report, open coverage/index.html in the browser.

Also, to have "one-shot execution" of all unit tests through tox similarly to how we do in CI, a new env is added for running all available tests. This env is not guaranteed to run properly in CI mainly due to uni tests that require IPA server (now is not available in CI)

mahavrila commented 2 years ago

Looks good to me. Approved.