[Ubuntu] Migrate Toolset tests to Pester (#2339)

* migrate toolset tests to pester

* move test invocation

* minor fixes
This commit is contained in:
Dibir Magomedsaygitov
2020-12-28 15:07:00 +03:00
committed by GitHub
parent ab06a8a68f
commit f58f2c1e02
6 changed files with 69 additions and 98 deletions

View File

@@ -4,6 +4,8 @@
## Desc: Configure toolset
################################################################################
Import-Module "$env:HELPER_SCRIPTS/Tests.Helpers.psm1" -DisableNameChecking
function Get-ToolsetToolFullPath
{
param
@@ -93,3 +95,5 @@ foreach ($tool in $toolset.toolcache)
Invoke-Expression -Command $command
}
}
Invoke-PesterTests -TestFile "Toolset" -TestName "Toolset"