Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Commit 1ed4914

Browse files
authored
Add DSC Unit tests to BVT
It appears no one is verifying the PowerShellGet DSC resources. I would like to request that we add tests, starting with just the basic unit tests, to daily build validation. THIS IS LIKELY TO BREAK THE BUILD TEMPORARILY.
1 parent 1c677b8 commit 1ed4914

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DSC/Tests/Unit/MSFT_PSModule.Tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ try {
9797
return $mockGalleryModule
9898
}
9999

100-
Describe 'MSFT_PSModule\Get-TargetResource' -Tag 'Get' {
100+
Describe 'MSFT_PSModule\Get-TargetResource' -Tag 'Get','BVT' {
101101
Context 'When the system is in the desired state' {
102102
Context 'When the configuration is present' {
103103
Context 'When the module is trusted' {
@@ -254,7 +254,7 @@ try {
254254
}
255255
}
256256

257-
Describe 'MSFT_PSModule\Set-TargetResource' -Tag 'Set' {
257+
Describe 'MSFT_PSModule\Set-TargetResource' -Tag 'Set','BVT' {
258258
Context 'When the system is not in the desired state' {
259259
Context 'When the configuration should be present' {
260260
BeforeAll {
@@ -384,7 +384,7 @@ try {
384384
}
385385
}
386386

387-
Describe 'MSFT_PSModule\Test-TargetResource' -Tag 'Test' {
387+
Describe 'MSFT_PSModule\Test-TargetResource' -Tag 'Test','BVT' {
388388
Context 'When the system is in the desired state' {
389389
Context 'When the configuration is present' {
390390
BeforeEach {

0 commit comments

Comments
 (0)