Skip to content

catarineaguiar/eta_lab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ETA

Setup

pip install -r requirements.txt

Unittest

python -m unittest -v

Pytest

pytest .

Test Coverage

  • coverage and pytest-cov packages are required
  • Add pragma: no cover to exclude code from coverage report

With pytest

Terminal report:

pytest --cov-report term-missing --cov .

HTML report:

pytest --cov-report html --cov .

With unittest

To generate report:

python -m coverage run -m unittest

To view report in terminal:

python -m coverage report

To view report in HTML:

python -m coverage html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%