Coverage missing if only one of stack and cabal not installed
Because of
CHECKER_SEARCH = {
'cabal': False,
'stack': True,
}
Installing only one of them will cause different code paths to be traveled, and leave the other uncovered.
e.g. when cabal isnt installed
dependency_management\requirements\HaskellRequirement.py 76 3 96% 153-154, 193
This could be resolved by having a GenericPackage
class which supports both HaskellRequirement
and PlatformRequirement
.