AdaCore / e3-core

Core framework for developing portable automated build systems
26 stars 36 forks source link

Fix pytest when source coverage is not used #721

Closed grouigrokon closed 3 months ago

grouigrokon commented 4 months ago

The source coverage option may not be defined when running the tests manually. The option existence should be checked before trying to get it.

The coverage package dependency was also missing from the pyproject.toml.

Closes #720