xPSDesiredStateConfiguration
xPSDesiredStateConfiguration copied to clipboard
Tests\Unit\MSFT_xPackageResource.Tests.ps1: Many tests are actually Integration tests
It seems that many of the tests in Tests\Unit\MSFT_xPackageResource.Tests.ps1 are actually Integration tests. They go through full package installations using Set-TargetResource and don't Mock any of the functions that Set-TargetResource calls. I think these should probably be moved to the Integration tests file instead. That allows us to (try to) keep the Unit tests non-destructive. I wanted to see what others think about this.
Agreed! Good catch.