ConaireD / TolimanWIP

WIP Toliman codes go here before being added to the main TOLIMAN github
Other
0 stars 0 forks source link

Assess Test Coverage with `pytest-cov`. #16

Closed Jordan-Dennis closed 1 year ago

Jordan-Dennis commented 1 year ago

Hi all. The title explains it all. This is a little overkill given how small the package is but I think it is worth it as a learning experience. Regards Jordan.

Jordan-Dennis commented 1 year ago

There is an mkdocs plugin called mkdocs-coverage that will let us include coverage reports in the docs.

Jordan-Dennis commented 1 year ago

I have decided to use pytest-cov for now but this may change in the future.

Jordan-Dennis commented 1 year ago

So it looks like pytest-cov is actually a very light wrapper for coverage which does all the work. Perhaps we should just use coverage instead.