dsccommunity / DnsServerDsc

This module contains DSC resources for the management and configuration of Windows Server DNS Server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DnsServerDsc: Codecov.io does not show coverage for classes

johlju opened this issue · comments

Because the the classes are built into the DnsServerDsc.psm1 there is no comparable file for Codecov.io to report on. With the current implementation it finds source/DnsServerDsc.psm1 which is empty so it cannot record the hits/misses on that file.

The same problem ecist for Azure DevOps coverage.

We need to work out the line in ./output/.../DnsServerDsc.psm1 to the correct line in the actual class file and modify the coverage file before uploading it. ModuleBuilder has functionality for this, see:

dsccommunity/DscResource.DocGenerator#12 (comment)

Gonna try to work on this. It is a problem for regular modules too.

Working on it in PR gaelcolas/Sampler#263.