Closed johlju closed 1 year ago
Merging #1911 (f4fdec4) into main (2ea2c07) will increase coverage by
0%
. The diff coverage is100%
.
@@ Coverage Diff @@
## main #1911 +/- ##
====================================
Coverage 92% 92%
====================================
Files 88 91 +3
Lines 7678 7714 +36
====================================
+ Hits 7075 7111 +36
Misses 603 603
Flag | Coverage Δ | |
---|---|---|
unit | 92% <100%> (+<1%) |
:arrow_up: |
Impacted Files | Coverage Δ | |
---|---|---|
...dules/SqlServerDsc.Common/SqlServerDsc.Common.psm1 | 98% <ø> (ø) |
|
source/DSCResources/DSC_SqlSetup/DSC_SqlSetup.psm1 | 98% <100%> (ø) |
|
source/Private/Assert-Feature.ps1 | 100% <100%> (ø) |
|
source/Private/Assert-SetupActionProperties.ps1 | 98% <100%> (+<1%) |
:arrow_up: |
source/Private/Get-FileVersionInformation.ps1 | 100% <100%> (ø) |
|
source/Public/Test-SqlDscIsSupportedFeature.ps1 | 100% <100%> (ø) |
Pull Request (PR) description
Test-SqlDscIsSupportedFeature
- Evaluates if a feature is supported by a specific Microsoft SQL Server major version. This command must be extended with a full list of when features were added and removed in each major version to fully work.Get-FileVersionInformation
- Returns the version information for a file.Assert-Feature
- Throws an exception if a feature is not supported for a specific Microsoft SQL Server major version.Assert-SetupActionProperties
was changed to throw an exception when a feature is not supported (usesAssert-Feature
). The private function indirectly used by the setup action commands.SqlDscIsSupportedFeature
([issue #1872).This Pull Request (PR) fixes the following issues
Task list
This change is