This module
contains functions
to help create and run Unit Testing for Powershell modules.
This library will allow you to create a PowerShell Module with all the gearing for a full SDLC on GitHub platform.
- Create a Module with sample code
- Add Testing for sample tests
- Add Module gearing
- Add Helper scripts to create releases and deploy
- Add GitHub Worflows for Code Analysis, Testing and Deploy
Information on how to use it on the Docs
- Invoke-TestingHelper
- Import-TestingModule
- Test-Module (ObsoleteAttribute)
- Test-ModulelocalPSD1 (ObsoleteAttribute)
- Trace-Message
- Write-AssertionSectionEnd
- New-TestingFile
- New-TestingFolder
- Remove-TestingFile
- Remove-TestingFolder
-
New-Module (Alias New-ModuleV3)
-
New-ModuleV1
-
New-ModuleV2
-
New-ModuleV3
-
Add-ModuleV3
- New-TestingModule
- Add-TestModuleV3
-
Add-ToModuleAll
-
Add-ToModuleSampleCode
-
Add-ToModuleAbout
-
Add-ToModuleReadme
-
Add-ToModuleLicense
-
Add-ToModuleDevContainerJson
-
Add-ToModuleGitRepository
-
Add-ToModuleDeployScript
-
Add-ToModuleReleaseScript
-
Add-ToModuleSyncScript
-
Add-ToModuleTestAll
-
Add-ToModuleLaunchJson
-
Add-ToModuleTestScript
-
Add-ToModuleTestModule
-
Add-ToModuleTestSampleCode
-
Add-ToModuleDeployWorkflow
-
Add-ToModulePSScriptAnalyzerWorkflow
-
Add-ToModuleTestWorkflow
- Assert-AreEqual
- Assert-AreEqualContent
- Assert-AreEqualPath
- Assert-AreEqualSecureString
- Assert-AreNotEqual
- Assert-AreNotEqualContent
- Assert-AreNotEqualPath
- Assert-CollectionIsNotNullOrEmpty
- Assert-CollectionIsNullOrEmpty
- Assert-ContainedXOR
- Assert-Contains
- Assert-ContainsPath
- Assert-Count
- Assert-CountTimes
- Assert-FileContains
- Assert-FilesAreEqual
- Assert-FilesAreNotEqual
- Assert-IsFalse
- Assert-IsGuid
- Assert-IsNotNull
- Assert-IsNull
- Assert-IsTrue
- Assert-ItemExist
- Assert-ItemNotExist
- Assert-NotContains
- Assert-NotContainsPath
- Assert-NotImplemented
- Assert-SkipTest
- Assert-StringIsNotNullOrEmpty
- Assert-StringIsNullOrEmpty