[go: up one dir, main page]

Menu

Tree [c2993a] develop / tests /
 History

HTTPS access


File Date Author Commit
 README.md 2024-03-30 Brigitte Bigi Brigitte Bigi [ff2f73] Renamed "Clamming" into "ClammingPy", for clarity.
 __init__.py 2024-01-08 Brigitte Bigi Brigitte Bigi [f029a4] clamspack: bug correction when exporting a list...
 coverage.xml 2024-01-12 Brigitte Bigi Brigitte Bigi [cae63a] accessibility: add 'external-link' class and icon
 test_claminfo.py 2024-05-15 Brigitte Bigi Brigitte Bigi [aa8a15] added support of a README file in each package,...
 test_clamspack.py 2024-05-15 Brigitte Bigi Brigitte Bigi [aa8a15] added support of a README file in each package,...
 test_clamutils.py 2024-03-30 Brigitte Bigi Brigitte Bigi [ff2f73] Renamed "Clamming" into "ClammingPy", for clarity.
 test_classparser.py 2024-03-30 Brigitte Bigi Brigitte Bigi [ff2f73] Renamed "Clamming" into "ClammingPy", for clarity.
 test_exportoptions.py 2024-05-15 Brigitte Bigi Brigitte Bigi [aa8a15] added support of a README file in each package,...

Read Me

ClammingPy tests

Install required dependencies

>python -m pip install ".[tests]"

Launch tests

>python -m unittest discover

The last printed line should be "OK".

Analyze tests coverage

>coverage run -m unittest discover

It creates a .coverage file.
Then, see results in the terminal, and write XML report to tests/coverage.xml with:

>coverage report -m
>coverage xml