Closed shanethehat closed 6 years ago
The code coverage report for this issue is reporting misses because Jacoco doesn't properly understand code generated from inlined methods, which is necessary in this case to use the reified type parameter. (https://stackoverflow.com/questions/39817814/no-coverage-report-for-inlined-kotlin-methods)
Jacoco could be appeased by making the provideParsed
function accept a class type as an argument instead, but that is less idiomatic in my opinion, and leads to unpleasant calling code:
ArgParser(args).provideParsed(ParsedArgs::class)
Codecov Report
87.31% <100%> (+0.38%)
54 <2> (+2)
Continue to review full report at Codecov.