Add comprehensive Pester tests for PowerShell modules with streamlined test structure #5
9 new alerts including 1 error
New alerts in code changed by this pull request
- 1 error
- 8 warnings
See annotations below for details.
Annotations
Check failure on line 198 in tests/common/Ensure/Ensure.Tests.ps1
Code scanning / PSScriptAnalyzer
File 'Ensure.Tests.ps1' uses ConvertTo-SecureString with plaintext. This will expose secure information. Encrypted standard strings should be used instead. Error test
Check warning on line 6 in tests/common/ModuleUtils/Export-Types.Tests.ps1
Code scanning / PSScriptAnalyzer
The variable 'ModulePath' is assigned but never used. Warning test
Check warning on line 7 in tests/common/ModuleUtils/Export-Types.Tests.ps1
Code scanning / PSScriptAnalyzer
The variable 'TypeAcceleratorsClass' is assigned but never used. Warning test
Check warning on line 9 in tests/common/ModuleUtils/Export-Types.Tests.ps1
Code scanning / PSScriptAnalyzer
The variable 'TestModulePath' is assigned but never used. Warning test
Check warning on line 110 in tests/common/Registry/Remove-RegistryKey.Tests.ps1
Code scanning / PSScriptAnalyzer
The variable 'VerboseOutput' is assigned but never used. Warning test
Check warning on line 120 in tests/common/Registry/Remove-RegistryKey.Tests.ps1
Code scanning / PSScriptAnalyzer
The variable 'VerboseOutput' is assigned but never used. Warning test
Check warning on line 5 in tests/common/Temp/Get-NamedTempFolder.Tests.ps1
Code scanning / PSScriptAnalyzer
The variable 'TestTempPath' is assigned but never used. Warning test
Check warning on line 164 in tests/common/Windows/Sync-Time.Tests.ps1
Code scanning / PSScriptAnalyzer
The variable 'Result' is assigned but never used. Warning test
Check warning on line 200 in tests/common/Windows/Sync-Time.Tests.ps1
Code scanning / PSScriptAnalyzer
The variable 'Result' is assigned but never used. Warning test