move source code to public

This commit is contained in:
Maxim Lobanov
2020-09-10 14:34:08 +03:00
parent ffc156448e
commit 511c6e636b
100 changed files with 6901 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
param (
[Parameter(Mandatory=$true)]
$WorkingDirectory,
[Parameter(Mandatory=$true)]
$OutputFile
)
$ErrorActionPreference = "Stop"
Import-Module Pester
Set-Location -Path $WorkingDirectory
$parentDirectory = Split-Path $OutputFile -Parent
if (-not (Test-Path $parentDirectory)) { New-Item -Path $parentDirectory -ItemType Directory | Out-Null }
$configuration = [PesterConfiguration] @{
Output = @{ Verbosity = "Detailed" }
TestResult = @{
Enabled = $true
OutputPath = $OutputFile;
OutputFormat = "NUnitXML"
}
}
Invoke-Pester -Configuration $configuration