dsccommunity / SqlServerDsc

This module contains DSC resources for deployment and configuration of Microsoft SQL Server.
MIT License
360 stars 225 forks source link

SqlServerDsc: Re-enable Pester's new code coverage method #1857

Closed johlju closed 1 year ago

johlju commented 1 year ago

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

None.

Task list


This change is Reviewable

codecov[bot] commented 1 year ago

Codecov Report

Merging #1857 (f93c50e) into main (38a0da4) will increase coverage by 0%. The diff coverage is n/a.

Impacted file tree graph

@@         Coverage Diff          @@
##           main   #1857   +/-   ##
====================================
  Coverage    91%     92%           
====================================
  Files        85      85           
  Lines      7608    7608           
====================================
+ Hits       6952    7006   +54     
+ Misses      656     602   -54     
Flag Coverage Δ
unit 92% <ø> (+<1%) :arrow_up:
Impacted Files Coverage Δ
source/Classes/002.DatabasePermission.ps1 100% <ø> (ø)
source/Classes/002.ServerPermission.ps1 100% <ø> (ø)
source/Classes/004.StartupParameters.ps1 100% <ø> (ø)
source/Public/Set-SqlDscTraceFlag.ps1 90% <0%> (-10%) :arrow_down:
source/Classes/011.SqlResourceBase.ps1 83% <0%> (-9%) :arrow_down:
source/Public/Get-SqlDscManagedComputerService.ps1 95% <0%> (-5%) :arrow_down:
source/Public/Add-SqlDscTraceFlag.ps1 95% <0%> (-5%) :arrow_down:
source/Public/Remove-SqlDscTraceFlag.ps1 96% <0%> (-4%) :arrow_down:
source/Public/Set-SqlDscStartupParameter.ps1 96% <0%> (-4%) :arrow_down:
source/Classes/020.SqlAudit.ps1 99% <0%> (-1%) :arrow_down:
... and 24 more