This commit is contained in:
dfinke
2019-02-18 13:51:50 -05:00
parent 2949ecc173
commit 438be760f7
3 changed files with 23 additions and 34 deletions

View File

@@ -1,5 +1,3 @@
try {. $PSScriptRoot\..\..\LoadPSD1.ps1} catch {}
function Test-APIReadXls {
param(
[parameter(Mandatory)]
@@ -7,7 +5,7 @@ function Test-APIReadXls {
$WorksheetName = 'Sheet1'
)
$testFileName = "{0}.tests.ps1" -f (get-date).ToString("yyyyMMddHHmmss.fff")
$testFileName = "{0}.tests.ps1" -f (get-date).ToString("yyyyMMddHHmmss")
$records = Import-Excel $XlFilename
@@ -37,7 +35,6 @@ function Test-APIReadXls {
"@
})
@"
Describe "Tests from $($XlFilename) in $($WorksheetName)" {
$($blocks)