throw"Worksheet '$WorksheetName' not found, the workbook only contains the worksheets '$($ExcelPackage.Workbook.Worksheets)'. If you only wish to select the first worksheet, please remove the '-WorksheetName' parameter.";return
#At this point Sheets Should be in the order Sheet1, Processes, ProcessesPivotTable
$null=Add-Worksheet-ExcelPackage$Excel-WorkSheetname"Processes"-MoveToEnd# order now Sheet1, ProcessesPivotTable, Processes
$null=Add-Worksheet-ExcelPackage$Excel-WorkSheetname"NewSheet"-MoveAfter"*"-CopySource($excel.Workbook.Worksheets["Sheet1"])# Now its NewSheet, Sheet1, ProcessesPivotTable, Processes
$null=Add-Worksheet-ExcelPackage$Excel-WorkSheetname"Processes"-MoveToEnd# order now ProcessesPivotTable, Processes
$null=Add-Worksheet-ExcelPackage$Excel-WorkSheetname"NewSheet"-MoveAfter"*"-CopySource($excel.Workbook.Worksheets["Processes"])# Now its NewSheet, ProcessesPivotTable, Processes
$null=Add-Worksheet-ExcelPackage$Excel-WorkSheetname"Sheet1"-MoveAfter"Processes"# Now its NewSheet, ProcessesPivotTable, Processes, Sheet1
$null=Add-Worksheet-ExcelPackage$Excel-WorkSheetname"Another"-MoveToStart# Now its Another, NewSheet, ProcessesPivotTable, Processes, Sheet1
$null=Add-Worksheet-ExcelPackage$Excel-WorkSheetname"NearDone"-MoveBefore5# Now its Another, NewSheet, ProcessesPivotTable, Processes, NearDone ,Sheet1
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingCmdletAliases','',Justification='Testing for presence of alias')]
param()
$path="TestDrive:\test.xlsx"
describe"Consistent passing of ranges."{
BeforeAll{$path="TestDrive:\test.xlsx"}
Context"Conditional Formatting"{
Remove-Item-path$path-ErrorActionSilentlyContinue
$excel=Get-Service|Export-Excel-Path$path-WorksheetNameServices-PassThru-AutoSize-DisplayPropertySet-AutoNameRange-Title"Services on $Env:COMPUTERNAME"
$excel=Get-Service|Export-Excel-Path$path-WorksheetNameServices-PassThru-AutoSize-DisplayPropertySet-AutoNameRange-Title"Services on $Env:COMPUTERNAME"
$excel=Get-Service|Export-Excel-Path$path-WorksheetNameServices-PassThru-AutoSize-DisplayPropertySet-TableNameservicetable-Title"Services on $Env:COMPUTERNAME"
it"accepts table, table.Address and worksheet + 'C:C' "{
$excel=Get-Service|Export-Excel-Path$path-WorksheetNameServices-PassThru-AutoSize-DisplayPropertySet-TableNameservicetable-Title"Services on $Env:COMPUTERNAME"
$excel=Get-Service|Export-Excel-Pathtest2.xlsx-WorksheetNameServices-PassThru-AutoNameRange-AutoSize-DisplayPropertySet-TableNameservicetable-Title"Services on $Env:COMPUTERNAME"
<environmentclr-version="Unknown"os-version="10.0.19041"user-domain="FLATFISH"nunit-version="2.5.8.0"platform="Microsoft Windows 10 Pro|C:\WINDOWS|\Device\Harddisk0\Partition3"cwd="C:\Users\mcp\Documents\GitHub\ImportExcel\__tests__"machine-name="FLATFISH"user="mcp"/>
<test-suitetype="TestFixture"name="Test adding trendlines to charts"executed="True"result="Success"success="True"time="0.595"asserts="0"description="Test adding trendlines to charts">
<results>
<test-casedescription="Should add a linear trendline "name="Test adding trendlines to charts.Should add a linear trendline "time="0.2583"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should add a MovingAvgerage trendline "name="Test adding trendlines to charts.Should add a MovingAvgerage trendline "time="0.242"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Found the right number of differences "name="Compare Worksheet.Simple comparison output.Found the right number of differences "time="0.0034"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Found the data row with a changed property "name="Compare Worksheet.Simple comparison output.Found the data row with a changed property "time="0.0143"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Found the inserted data row "name="Compare Worksheet.Simple comparison output.Found the inserted data row "time="0.0077"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Found the deleted data row "name="Compare Worksheet.Simple comparison output.Found the deleted data row "time="0.0046"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Compare Worksheet.Setting the background to highlight different rows"executed="True"result="Success"success="True"time="0.84"asserts="0"description="Compare Worksheet.Setting the background to highlight different rows">
<results>
<test-casedescription="Set the background on the right rows "name="Compare Worksheet.Setting the background to highlight different rows.Set the background on the right rows "time="0.0048"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Didn't set other cells "name="Compare Worksheet.Setting the background to highlight different rows.Didn't set other cells "time="0.0042"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Compare Worksheet.Setting the forgound to highlight changed properties"executed="True"result="Success"success="True"time="1.9548"asserts="0"description="Compare Worksheet.Setting the forgound to highlight changed properties">
<results>
<test-casedescription="Added foreground colour to the right cells "name="Compare Worksheet.Setting the forgound to highlight changed properties.Added foreground colour to the right cells "time="0.014"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Didn't set the foreground on other cells "name="Compare Worksheet.Setting the forgound to highlight changed properties.Didn't set the foreground on other cells "time="0.0036"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Compare Worksheet.More complex comparison: output check and different worksheet names "executed="True"result="Success"success="True"time="3.3389"asserts="0"description="Compare Worksheet.More complex comparison: output check and different worksheet names ">
<results>
<test-casedescription="Found the right number of differences "name="Compare Worksheet.More complex comparison: output check and different worksheet names .Found the right number of differences "time="0.0031"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Found the data row with a changed property "name="Compare Worksheet.More complex comparison: output check and different worksheet names .Found the data row with a changed property "time="0.0082"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Found the inserted data row "name="Compare Worksheet.More complex comparison: output check and different worksheet names .Found the inserted data row "time="0.0043"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Found the deleted data row "name="Compare Worksheet.More complex comparison: output check and different worksheet names .Found the deleted data row "time="0.0192"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set the background on the right rows "name="Compare Worksheet.More complex comparison: output check and different worksheet names .Set the background on the right rows "time="0.0074"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Didn't set other cells "name="Compare Worksheet.More complex comparison: output check and different worksheet names .Didn't set other cells "time="0.0056"asserts="0"success="True"result="Success"executed="True"/>
<test-suitetype="TestFixture"name="Merge Worksheet.Merge with 3 properties"executed="True"result="Success"success="True"time="0.0976"asserts="0"description="Merge Worksheet.Merge with 3 properties">
<results>
<test-casedescription="Created a worksheet with the correct headings "name="Merge Worksheet.Merge with 3 properties.Created a worksheet with the correct headings "time="0.019"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Joined the two sheets correctly "name="Merge Worksheet.Merge with 3 properties.Joined the two sheets correctly "time="0.0091"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Highlighted the keys in the added / deleted / changed rows "name="Merge Worksheet.Merge with 3 properties.Highlighted the keys in the added / deleted / changed rows "time="0.004"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set the background for the added / deleted / changed rows "name="Merge Worksheet.Merge with 3 properties.Set the background for the added / deleted / changed rows "time="0.0062"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Merge Worksheet.Wider data set"executed="True"result="Success"success="True"time="0.7116"asserts="0"description="Merge Worksheet.Wider data set">
<results>
<test-casedescription="Coped with columns beyond Z in the Output sheet "name="Merge Worksheet.Wider data set.Coped with columns beyond Z in the Output sheet "time="0.543"asserts="0"success="True"result="Success"executed="True"/>
<test-suitetype="TestFixture"name="Merge Multiple sheets.Merge 3 sheets with 3 properties"executed="True"result="Success"success="True"time="1.1448"asserts="0"description="Merge Multiple sheets.Merge 3 sheets with 3 properties">
<results>
<test-casedescription="Created a worksheet with the correct headings "name="Merge Multiple sheets.Merge 3 sheets with 3 properties.Created a worksheet with the correct headings "time="0.0378"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Joined the three sheets correctly "name="Merge Multiple sheets.Merge 3 sheets with 3 properties.Joined the three sheets correctly "time="0.0214"asserts="0"success="True"result="Success"executed="True"/>
<test-suitetype="TestFixture"name="ConvertFrom-ExcelSheet / Export-ExcelSheet.Exporting to CSV"executed="True"result="Success"success="True"time="0.0826"asserts="0"description="ConvertFrom-ExcelSheet / Export-ExcelSheet.Exporting to CSV">
<results>
<test-casedescription="Exported the expected columns to a CSV file "name="ConvertFrom-ExcelSheet / Export-ExcelSheet.Exporting to CSV.Exported the expected columns to a CSV file "time="0.0196"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Applied AsText, AsDate and Properties correctly "name="ConvertFrom-ExcelSheet / Export-ExcelSheet.Exporting to CSV.Applied AsText, AsDate and Properties correctly "time="0.0042"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ConvertFrom-ExcelSheet / Export-ExcelSheet.Export aliased to ConvertFrom"executed="True"result="Success"success="True"time="0.1438"asserts="0"description="ConvertFrom-ExcelSheet / Export-ExcelSheet.Export aliased to ConvertFrom">
<results>
<test-casedescription="Definded the alias name with "name="ConvertFrom-ExcelSheet / Export-ExcelSheet.Export aliased to ConvertFrom.Definded the alias name with "time="0.0068"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should be empty double single quotes "name="ConvertFrom-ExcelToSQLInsert.Should be empty double single quotes "time="0.235"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should have NULL "name="ConvertFrom-ExcelToSQLInsert.Should have NULL "time="0.2343"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Inserted a worksheet "name="Copy-Worksheet.Simplest copy.Inserted a worksheet "time="0.0202"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Copy-Worksheet.Mixed types using a package object"executed="True"result="Ignored"success="True"time="0.3858"asserts="0"description="Copy-Worksheet.Mixed types using a package object">
<results>
<test-casedescription="Copied a worksheet, giving the expected name, number of rows and number of columns "name="Copy-Worksheet.Mixed types using a package object.Copied a worksheet, giving the expected name, number of rows and number of columns "time="0.001"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Copied the expected data into the worksheet "name="Copy-Worksheet.Mixed types using a package object.Copied the expected data into the worksheet "time="0.0009"asserts="0"success="False"result="Ignored"executed="False"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Copy-Worksheet.Copy worksheet should close all files"executed="True"result="Success"success="True"time="1.8516"asserts="0"description="Copy-Worksheet.Copy worksheet should close all files">
<results>
<test-casedescription="Should copy and remove sheets "name="Copy-Worksheet.Copy worksheet should close all files.Should copy and remove sheets "time="0.8013"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Copy-Worksheet.Copy worksheet should support piped input"executed="True"result="Success"success="True"time="2.8958"asserts="0"description="Copy-Worksheet.Copy worksheet should support piped input">
<results>
<test-casedescription="Should copy sheets piped into the command "name="Copy-Worksheet.Copy worksheet should support piped input.Should copy sheets piped into the command "time="0.0225"asserts="0"success="True"result="Success"executed="True"/>
<test-suitetype="TestFixture"name="ExportExcel.#Example 1 # Creates and opens a file with the right number of rows and columns"executed="True"result="Success"success="True"time="6.9903"asserts="0"description="ExportExcel.#Example 1 # Creates and opens a file with the right number of rows and columns">
<results>
<test-casedescription="Created a new file "name="ExportExcel.#Example 1 # Creates and opens a file with the right number of rows and columns.Created a new file "time="0.0439"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Killed Excel when Open-Excelpackage was told to "name="ExportExcel.#Example 1 # Creates and opens a file with the right number of rows and columns.Killed Excel when Open-Excelpackage was told to "time="0.0324"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created 1 worksheet, named 'Sheet1' "name="ExportExcel.#Example 1 # Creates and opens a file with the right number of rows and columns.Created 1 worksheet, named 'Sheet1' "time="0.0382"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Added a 'Sheet1' property to the Package object "name="ExportExcel.#Example 1 # Creates and opens a file with the right number of rows and columns.Added a 'Sheet1' property to the Package object "time="0.0345"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created the worksheet with the expected name, number of rows and number of columns "name="ExportExcel.#Example 1 # Creates and opens a file with the right number of rows and columns.Created the worksheet with the expected name, number of rows and number of columns "time="0.0318"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created the worksheet with the correct header names "name="ExportExcel.#Example 1 # Creates and opens a file with the right number of rows and columns.Created the worksheet with the correct header names "time="0.1017"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Formatted the process StartTime field as 'localized Date-Time' "name="ExportExcel.#Example 1 # Creates and opens a file with the right number of rows and columns.Formatted the process StartTime field as 'localized Date-Time' "time="0.0316"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Formatted the process ID field as 'General' "name="ExportExcel.#Example 1 # Creates and opens a file with the right number of rows and columns.Formatted the process ID field as 'General' "time="0.0301"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel. # NoAliasOrScriptPropeties -ExcludeProperty and -DisplayPropertySet work"executed="True"result="Success"success="True"time="13.6428"asserts="0"description="ExportExcel. # NoAliasOrScriptPropeties -ExcludeProperty and -DisplayPropertySet work">
<results>
<test-casedescription="Created a new file with further properties excluded and cleared the old sheet "name="ExportExcel. # NoAliasOrScriptPropeties -ExcludeProperty and -DisplayPropertySet work.Created a new file with further properties excluded and cleared the old sheet "time="0.0038"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created a new file with just the members of the Display Property Set "name="ExportExcel. # NoAliasOrScriptPropeties -ExcludeProperty and -DisplayPropertySet work.Created a new file with just the members of the Display Property Set "time="0.1598"asserts="0"success="True"result="Success"executed="True"/>
<test-suitetype="TestFixture"name="ExportExcel.#Example 2 # Exports a list of numbers and applies number format "executed="True"result="Success"success="True"time="13.8716"asserts="0"description="ExportExcel.#Example 2 # Exports a list of numbers and applies number format ">
<results>
<test-casedescription="Created 1 worksheet "name="ExportExcel.#Example 2 # Exports a list of numbers and applies number format .Created 1 worksheet "time="0.0024"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created the worksheet with the expected name, number of rows and number of columns "name="ExportExcel.#Example 2 # Exports a list of numbers and applies number format .Created the worksheet with the expected name, number of rows and number of columns "time="0.0211"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set the default style for the sheet as expected "name="ExportExcel.#Example 2 # Exports a list of numbers and applies number format .Set the default style for the sheet as expected "time="0.003"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set the default style and set values for Cells as expected, handling null,0 and '' "name="ExportExcel.#Example 2 # Exports a list of numbers and applies number format .Set the default style and set values for Cells as expected, handling null,0 and '' "time="0.0067"asserts="0"success="True"result="Success"executed="True"/>
<test-suitetype="TestFixture"name="ExportExcel. # Number format parameter"executed="True"result="Success"success="True"time="14.3091"asserts="0"description="ExportExcel. # Number format parameter">
<results>
<test-casedescription="Set the worksheet default number format correctly "name="ExportExcel. # Number format parameter.Set the worksheet default number format correctly "time="0.0023"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set number formats on specific blocks of cells "name="ExportExcel. # Number format parameter.Set number formats on specific blocks of cells "time="0.0042"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type"executed="True"result="Success"success="True"time="14.6858"asserts="0"description="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type">
<results>
<test-casedescription="Created a new file "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Created a new file "time="0.0052"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created 1 worksheet with no warnings "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Created 1 worksheet with no warnings "time="0.0231"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created the worksheet with the expected name, number of rows and number of columns "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Created the worksheet with the expected name, number of rows and number of columns "time="0.0102"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set a date in Cell A2 "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Set a date in Cell A2 "time="0.0181"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set a formula in Cell B2 "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Set a formula in Cell B2 "time="0.0064"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Forced a successful calculation of the Value in Cell B2 "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Forced a successful calculation of the Value in Cell B2 "time="0.0134"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set strings in Cells E2, F2 and R2 (no number conversion) "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Set strings in Cells E2, F2 and R2 (no number conversion) "time="0.0067"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set numbers in Cells K2,L2,M2 (diferent Negative integer formats) "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Set numbers in Cells K2,L2,M2 (diferent Negative integer formats) "time="0.012"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set external hyperlinks in Cells U2 and V2 "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Set external hyperlinks in Cells U2 and V2 "time="0.0059"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set internal hyperlinks in Cells W2 and X2 "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Set internal hyperlinks in Cells W2 and X2 "time="0.0152"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Processed thousands according to local settings (Cells H2 and I2) "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Processed thousands according to local settings (Cells H2 and I2) "time="0.0051"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Processed local currency as a number and other currency as a string (N2 & O2) "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Processed local currency as a number and other currency as a string (N2 & O2) "time="0.0088"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Processed numbers with spaces between digits as strings (P2 & Q2) "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Processed numbers with spaces between digits as strings (P2 & Q2) "time="0.0055"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Processed numbers leading or trailing speaces as Numbers (S2 & T2) "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Processed numbers leading or trailing speaces as Numbers (S2 & T2) "time="0.0099"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Converted a nested object to a string (Y2) "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Converted a nested object to a string (Y2) "time="0.0063"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Processed a timespan object (Z2) "name="ExportExcel.#Examples 3 & 4 # Setting cells for different data types Also added test for URI type.Processed a timespan object (Z2) "time="0.0142"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel.# # Setting cells for different data types with -noHeader"executed="True"result="Success"success="True"time="14.9426"asserts="0"description="ExportExcel.# # Setting cells for different data types with -noHeader">
<results>
<test-casedescription="Created a new file "name="ExportExcel.# # Setting cells for different data types with -noHeader.Created a new file "time="0.0056"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created 1 worksheet "name="ExportExcel.# # Setting cells for different data types with -noHeader.Created 1 worksheet "time="0.0203"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created the worksheet with the expected name, number of rows and number of columns "name="ExportExcel.# # Setting cells for different data types with -noHeader.Created the worksheet with the expected name, number of rows and number of columns "time="0.0118"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set a date in Cell A1 "name="ExportExcel.# # Setting cells for different data types with -noHeader.Set a date in Cell A1 "time="0.0047"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set a formula in Cell B1 "name="ExportExcel.# # Setting cells for different data types with -noHeader.Set a formula in Cell B1 "time="0.0078"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set strings in Cells E1 and F1 "name="ExportExcel.# # Setting cells for different data types with -noHeader.Set strings in Cells E1 and F1 "time="0.0049"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set a number in Cell I1 "name="ExportExcel.# # Setting cells for different data types with -noHeader.Set a number in Cell I1 "time="0.005"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set a hyperlink in Cell N1 "name="ExportExcel.# # Setting cells for different data types with -noHeader.Set a hyperlink in Cell N1 "time="0.0086"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel.#Example 5 # Adding a single conditional format "executed="True"result="Ignored"success="True"time="14.9995"asserts="0"description="ExportExcel.#Example 5 # Adding a single conditional format ">
<results>
<test-casedescription="Added one block of conditional formating for the data range "name="ExportExcel.#Example 5 # Adding a single conditional format .Added one block of conditional formating for the data range "time="0.0011"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Set the conditional formatting properties correctly "name="ExportExcel.#Example 5 # Adding a single conditional format .Set the conditional formatting properties correctly "time="0.0011"asserts="0"success="False"result="Ignored"executed="False"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel.#Example 6 # Adding multiple conditional formats using short form syntax. "executed="True"result="Success"success="True"time="15.8298"asserts="0"description="ExportExcel.#Example 6 # Adding multiple conditional formats using short form syntax. ">
<results>
<test-casedescription="Added two blocks of conditional formating for the data range "name="ExportExcel.#Example 6 # Adding multiple conditional formats using short form syntax. .Added two blocks of conditional formating for the data range "time="0.0049"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set the conditional formatting properties correctly "name="ExportExcel.#Example 6 # Adding multiple conditional formats using short form syntax. .Set the conditional formatting properties correctly "time="0.0046"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel.#Example 7 # Update-FirstObjectProperties works "executed="True"result="Success"success="True"time="15.9201"asserts="0"description="ExportExcel.#Example 7 # Update-FirstObjectProperties works ">
<results>
<test-casedescription="Outputs as many objects as it input "name="ExportExcel.#Example 7 # Update-FirstObjectProperties works .Outputs as many objects as it input "time="0.0053"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Added properties to item 0 "name="ExportExcel.#Example 7 # Update-FirstObjectProperties works .Added properties to item 0 "time="0.0064"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel.#Examples 8 & 9 # Adding Pivot tables and charts from parameters"executed="True"result="Ignored"success="True"time="16.0098"asserts="0"description="ExportExcel.#Examples 8 & 9 # Adding Pivot tables and charts from parameters">
<results>
<test-casedescription="Added the named sheet and pivot table to the workbook "name="ExportExcel.#Examples 8 & 9 # Adding Pivot tables and charts from parameters.Added the named sheet and pivot table to the workbook "time="0.0016"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Selected the Pivottable page "name="ExportExcel.#Examples 8 & 9 # Adding Pivot tables and charts from parameters.Selected the Pivottable page "time="0.0026"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Built the expected Pivot table "name="ExportExcel.#Examples 8 & 9 # Adding Pivot tables and charts from parameters.Built the expected Pivot table "time="0.0036"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Added a chart to the pivot table without rebuilding "name="ExportExcel.#Examples 8 & 9 # Adding Pivot tables and charts from parameters.Added a chart to the pivot table without rebuilding "time="0.0017"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Generated a message on re-processing the Pivot table "name="ExportExcel.#Examples 8 & 9 # Adding Pivot tables and charts from parameters.Generated a message on re-processing the Pivot table "time="0.0036"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Appended to the Worksheet and Extended the Pivot table "name="ExportExcel.#Examples 8 & 9 # Adding Pivot tables and charts from parameters.Appended to the Worksheet and Extended the Pivot table "time="0.0011"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Generated a message on extending the Pivot table "name="ExportExcel.#Examples 8 & 9 # Adding Pivot tables and charts from parameters.Generated a message on extending the Pivot table "time="0.001"asserts="0"success="False"result="Ignored"executed="False"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel. # Add-Worksheet inserted sheets, moved them correctly, and copied a sheet"executed="True"result="Ignored"success="True"time="16.0762"asserts="0"description="ExportExcel. # Add-Worksheet inserted sheets, moved them correctly, and copied a sheet">
<results>
<test-casedescription="Got the Sheets in the right order "name="ExportExcel. # Add-Worksheet inserted sheets, moved them correctly, and copied a sheet.Got the Sheets in the right order "time="0.0011"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Cloned 'Sheet1' to 'NewSheet' "name="ExportExcel. # Add-Worksheet inserted sheets, moved them correctly, and copied a sheet.Cloned 'Sheet1' to 'NewSheet' "time="0.0013"asserts="0"success="False"result="Ignored"executed="False"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel. # Create and append with Start row and Start Column, inc ranges and Pivot table. "executed="True"result="Success"success="True"time="16.647"asserts="0"description="ExportExcel. # Create and append with Start row and Start Column, inc ranges and Pivot table. ">
<results>
<test-casedescription="Created and appended to a sheet offset from the top left corner "name="ExportExcel. # Create and append with Start row and Start Column, inc ranges and Pivot table. .Created and appended to a sheet offset from the top left corner "time="0.0201"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Applied and auto-extended an autofilter "name="ExportExcel. # Create and append with Start row and Start Column, inc ranges and Pivot table. .Applied and auto-extended an autofilter "time="0.0167"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created and auto-extended the named ranges "name="ExportExcel. # Create and append with Start row and Start Column, inc ranges and Pivot table. .Created and auto-extended the named ranges "time="0.0088"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created and extended the pivot table "name="ExportExcel. # Create and append with Start row and Start Column, inc ranges and Pivot table. .Created and extended the pivot table "time="0.0088"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Generated a message on extending the Pivot table "name="ExportExcel. # Create and append with Start row and Start Column, inc ranges and Pivot table. .Generated a message on extending the Pivot table "time="0.0086"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel. # Create and append explicit and auto table and range extension"executed="True"result="Success"success="True"time="17.2886"asserts="0"description="ExportExcel. # Create and append explicit and auto table and range extension">
<results>
<test-casedescription="Created a new sheet and auto-extended a table and explicitly extended named ranges "name="ExportExcel. # Create and append explicit and auto table and range extension.Created a new sheet and auto-extended a table and explicitly extended named ranges "time="0.0061"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set the expected number formats "name="ExportExcel. # Create and append explicit and auto table and range extension.Set the expected number formats "time="0.0047"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created a new sheet and explicitly extended named range and autofilter "name="ExportExcel. # Create and append explicit and auto table and range extension.Created a new sheet and explicitly extended named range and autofilter "time="0.2133"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel.#Example 13 # Formatting and another way to do a pivot. "executed="True"result="Success"success="True"time="18.0644"asserts="0"description="ExportExcel.#Example 13 # Formatting and another way to do a pivot. ">
<results>
<test-casedescription="Returned the rule when calling Add-ConditionalFormatting -passthru "name="ExportExcel.#Example 13 # Formatting and another way to do a pivot. .Returned the rule when calling Add-ConditionalFormatting -passthru "time="0.0038"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Applied the formating "name="ExportExcel.#Example 13 # Formatting and another way to do a pivot. .Applied the formating "time="0.0297"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created the named ranges "name="ExportExcel.#Example 13 # Formatting and another way to do a pivot. .Created the named ranges "time="0.0139"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Froze the panes "name="ExportExcel.#Example 13 # Formatting and another way to do a pivot. .Froze the panes "time="0.0032"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created the pivot table "name="ExportExcel.#Example 13 # Formatting and another way to do a pivot. .Created the pivot table "time="0.0154"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel. # Chart from MultiSeries.ps1 in the Examples\charts Directory"executed="True"result="Ignored"success="True"time="18.4823"asserts="0"description="ExportExcel. # Chart from MultiSeries.ps1 in the Examples\charts Directory">
<results>
<test-casedescription="Found the same parameters for Add-ExcelChart and New-ExcelChartDefinintion "name="ExportExcel. # Chart from MultiSeries.ps1 in the Examples\charts Directory.Found the same parameters for Add-ExcelChart and New-ExcelChartDefinintion "time="0.0355"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Used Invoke-Sum to create a data set "name="ExportExcel. # Chart from MultiSeries.ps1 in the Examples\charts Directory.Used Invoke-Sum to create a data set "time="0.2998"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created the Excel chart definition "name="ExportExcel. # Chart from MultiSeries.ps1 in the Examples\charts Directory.Created the Excel chart definition "time="0.015"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Used the Excel chart definition with Export-Excel "name="ExportExcel. # Chart from MultiSeries.ps1 in the Examples\charts Directory.Used the Excel chart definition with Export-Excel "time="0.0014"asserts="0"success="False"result="Ignored"executed="False"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel. # variation of plot.ps1 from Examples Directory using Add chart outside ExportExcel"executed="True"result="Success"success="True"time="18.7978"asserts="0"description="ExportExcel. # variation of plot.ps1 from Examples Directory using Add chart outside ExportExcel">
<results>
<test-casedescription="Controled the axes and title and legend of the chart "name="ExportExcel. # variation of plot.ps1 from Examples Directory using Add chart outside ExportExcel.Controled the axes and title and legend of the chart "time="0.0277"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Appplied conditional formatting to the data "name="ExportExcel. # variation of plot.ps1 from Examples Directory using Add chart outside ExportExcel.Appplied conditional formatting to the data "time="0.0026"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel. # Quick line chart"executed="True"result="Success"success="True"time="19.0403"asserts="0"description="ExportExcel. # Quick line chart">
<results>
<test-casedescription="Created the chart "name="ExportExcel. # Quick line chart.Created the chart "time="0.0105"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel. # Quick Pie chart and three icon conditional formating"executed="True"result="Success"success="True"time="20.0093"asserts="0"description="ExportExcel. # Quick Pie chart and three icon conditional formating">
<results>
<test-casedescription="Created the Conditional formatting rules "name="ExportExcel. # Quick Pie chart and three icon conditional formating.Created the Conditional formatting rules "time="0.1759"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created the chart with the right series "name="ExportExcel. # Quick Pie chart and three icon conditional formating.Created the chart with the right series "time="0.1359"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created two Conditional formatting rules "name="ExportExcel. # Quick Pie chart and three icon conditional formating.Created two Conditional formatting rules "time="0.1424"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created the FileSize table in the right place with the right size and style "name="ExportExcel. # Awkward multiple tables.Created the FileSize table in the right place with the right size and style "time="0.8117"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created the ExtSize table in the right place with the right size and style "name="ExportExcel. # Awkward multiple tables.Created the ExtSize table in the right place with the right size and style "time="0.8907"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created the ExtCount table in the right place with the right size "name="ExportExcel. # Awkward multiple tables.Created the ExtCount table in the right place with the right size "time="0.8441"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="ExportExcel. # Parameters and ParameterSets"executed="True"result="Ignored"success="True"time="23.6146"asserts="0"description="ExportExcel. # Parameters and ParameterSets">
<results>
<test-casedescription="Allows the default parameter set with Path "name="ExportExcel. # Parameters and ParameterSets.Allows the default parameter set with Path "time="0.001"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="throws when the ExcelPackage is specified with either -path or -Now "name="ExportExcel. # Parameters and ParameterSets.throws when the ExcelPackage is specified with either -path or -Now "time="0.0013"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="If TableName and AutoFilter provided AutoFilter will be ignored "name="ExportExcel. # Parameters and ParameterSets.If TableName and AutoFilter provided AutoFilter will be ignored "time="0.0018"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Default Set with Path and TableName with generated name "name="ExportExcel. # Parameters and ParameterSets.Default Set with Path and TableName with generated name "time="0.0047"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Now will use temp Path, set TableName with generated name and AutoSize "name="ExportExcel. # Parameters and ParameterSets.Now will use temp Path, set TableName with generated name and AutoSize "time="0.001"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Now allows override of Path and TableName "name="ExportExcel. # Parameters and ParameterSets.Now allows override of Path and TableName "time="0.0009"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Now allows override of AutoSize and TableName to AutoFilter "name="ExportExcel. # Parameters and ParameterSets.Now allows override of AutoSize and TableName to AutoFilter "time="0.0009"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Now allows to set TableName "name="ExportExcel. # Parameters and ParameterSets.Now allows to set TableName "time="0.0009"asserts="0"success="False"result="Ignored"executed="False"/>
<test-suitetype="TestFixture"name="Creating workbook with a single line"executed="True"result="Ignored"success="True"time="0.4232"asserts="0"description="Creating workbook with a single line">
<results>
<test-suitetype="TestFixture"name="Creating workbook with a single line.Data Page"executed="True"result="Success"success="True"time="0.0873"asserts="0"description="Creating workbook with a single line.Data Page">
<results>
<test-casedescription="Inserted the data and created the table "name="Creating workbook with a single line.Data Page.Inserted the data and created the table "time="0.0049"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Applied conditional formatting "name="Creating workbook with a single line.Data Page.Applied conditional formatting "time="0.0131"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Added the chart "name="Creating workbook with a single line.Data Page.Added the chart "time="0.0045"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Creating workbook with a single line.PivotTable"executed="True"result="Ignored"success="True"time="0.1703"asserts="0"description="Creating workbook with a single line.PivotTable">
<results>
<test-casedescription="Created the PivotTable on a new page "name="Creating workbook with a single line.PivotTable.Created the PivotTable on a new page "time="0.0115"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Made the PivotTable page active "name="Creating workbook with a single line.PivotTable.Made the PivotTable page active "time="0.0044"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Created the Pivot Chart "name="Creating workbook with a single line.PivotTable.Created the Pivot Chart "time="0.0109"asserts="0"success="True"result="Success"executed="True"/>
<test-suitetype="TestFixture"name="Creating small named ranges with hyperlinks"executed="True"result="Ignored"success="True"time="0.6677"asserts="0"description="Creating small named ranges with hyperlinks">
<results>
<test-suitetype="TestFixture"name="Creating small named ranges with hyperlinks.Creating hyperlinks"executed="True"result="Success"success="True"time="0.0815"asserts="0"description="Creating small named ranges with hyperlinks.Creating hyperlinks">
<results>
<test-casedescription="Put the data into the sheet and created the expected named ranges "name="Creating small named ranges with hyperlinks.Creating hyperlinks.Put the data into the sheet and created the expected named ranges "time="0.0061"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Added hyperlinks to the named ranges "name="Creating small named ranges with hyperlinks.Creating hyperlinks.Added hyperlinks to the named ranges "time="0.003"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Creating small named ranges with hyperlinks.Adding calculated column"executed="True"result="Ignored"success="True"time="0.168"asserts="0"description="Creating small named ranges with hyperlinks.Adding calculated column">
<results>
<test-casedescription="Populated the cells with the right heading and formulas "name="Creating small named ranges with hyperlinks.Adding calculated column.Populated the cells with the right heading and formulas "time="0.0051"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Performed the calculation "name="Creating small named ranges with hyperlinks.Adding calculated column.Performed the calculation "time="0.0058"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Applied ConditionalFormatting, including StopIfTrue, Priority "name="Creating small named ranges with hyperlinks.Adding calculated column.Applied ConditionalFormatting, including StopIfTrue, Priority "time="0.0112"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Applied ConditionalFormatting, including Reverse "name="Creating small named ranges with hyperlinks.Adding calculated column.Applied ConditionalFormatting, including Reverse "time="0.0041"asserts="0"success="False"result="Ignored"executed="False"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Creating small named ranges with hyperlinks.Adding a table"executed="True"result="Success"success="True"time="0.2386"asserts="0"description="Creating small named ranges with hyperlinks.Adding a table">
<results>
<test-casedescription="Created a table "name="Creating small named ranges with hyperlinks.Adding a table.Created a table "time="0.0137"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Creating small named ranges with hyperlinks.Adding Pivot tables"executed="True"result="Success"success="True"time="0.3202"asserts="0"description="Creating small named ranges with hyperlinks.Adding Pivot tables">
<results>
<test-casedescription="Added a worksheet with a pivot table grouped by date "name="Creating small named ranges with hyperlinks.Adding Pivot tables.Added a worksheet with a pivot table grouped by date "time="0.0118"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Added a worksheet with a pivot table grouped by Number "name="Creating small named ranges with hyperlinks.Adding Pivot tables.Added a worksheet with a pivot table grouped by Number "time="0.0128"asserts="0"success="True"result="Success"executed="True"/>
<test-suitetype="TestFixture"name="Check if Function aliases exist"executed="True"result="Success"success="True"time="0.0985"asserts="0"description="Check if Function aliases exist">
<results>
<test-casedescription="Set-Column should exist "name="Check if Function aliases exist.Set-Column should exist "time="0.0023"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set-Row should exist "name="Check if Function aliases exist.Set-Row should exist "time="0.0098"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set-Format should exist "name="Check if Function aliases exist.Set-Format should exist "time="0.0055"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="New-ExcelChart should exist "name="Check if Function aliases exist.New-ExcelChart should exist "time="0.0056"asserts="0"success="True"result="Success"executed="True"/>
<test-suitetype="TestFixture"name="Import-Excel on a sheet with no headings"executed="True"result="Success"success="True"time="1.7939"asserts="0"description="Import-Excel on a sheet with no headings">
<results>
<test-casedescription="Import-Excel should have this shape"name="Import-Excel on a sheet with no headings.Import-Excel should have this shape"time="0.1144"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Import-Excel -NoHeader should have this shape"name="Import-Excel on a sheet with no headings.Import-Excel -NoHeader should have this shape"time="0.1111"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Import-Excel -HeaderName should have this shape"name="Import-Excel on a sheet with no headings.Import-Excel -HeaderName should have this shape"time="0.1219"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should work with StartRow"name="Import-Excel on a sheet with no headings.Should work with StartRow"time="0.1529"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should work with -NoHeader"name="Import-Excel on a sheet with no headings.Should work with -NoHeader"time="0.119"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should work with -NoHeader -DataOnly"name="Import-Excel on a sheet with no headings.Should work with -NoHeader -DataOnly"time="0.1454"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should work with -HeaderName -DataOnly -StartRow"name="Import-Excel on a sheet with no headings.Should work with -HeaderName -DataOnly -StartRow"time="0.1139"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should"name="Import-Excel on a sheet with no headings.Should"time="0.2497"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should handle data correctly if there is only a single row"name="Import-Excel on a sheet with no headings.Should handle data correctly if there is only a single row"time="0.2099"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should handle data correctly if there is only a single row and using -NoHeader "name="Import-Excel on a sheet with no headings.Should handle data correctly if there is only a single row and using -NoHeader "time="0.1205"asserts="0"success="True"result="Success"executed="True"/>
<test-suitetype="TestFixture"name="Join Worksheet part 1"executed="True"result="Ignored"success="True"time="0.8237"asserts="0"description="Join Worksheet part 1">
<results>
<test-suitetype="TestFixture"name="Join Worksheet part 1.Export-Excel setting spreadsheet visibility"executed="True"result="Ignored"success="True"time="0.09"asserts="0"description="Join Worksheet part 1.Export-Excel setting spreadsheet visibility">
<results>
<test-casedescription="Hid the worksheets "name="Join Worksheet part 1.Export-Excel setting spreadsheet visibility.Hid the worksheets "time="0.016"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Un-hid two of the worksheets "name="Join Worksheet part 1.Export-Excel setting spreadsheet visibility.Un-hid two of the worksheets "time="0.003"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Activated the correct worksheet "name="Join Worksheet part 1.Export-Excel setting spreadsheet visibility.Activated the correct worksheet "time="0.0121"asserts="0"success="False"result="Ignored"executed="False"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Join Worksheet part 1.Merging 3 blocks"executed="True"result="Success"success="True"time="0.1827"asserts="0"description="Join Worksheet part 1.Merging 3 blocks">
<results>
<test-casedescription="Created sheet of the right size with a title and a table "name="Join Worksheet part 1.Merging 3 blocks.Created sheet of the right size with a title and a table "time="0.012"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Added a from column with the right heading "name="Join Worksheet part 1.Merging 3 blocks.Added a from column with the right heading "time="0.0054"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Filled in the data "name="Join Worksheet part 1.Merging 3 blocks.Filled in the data "time="0.0074"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created the pivot table "name="Join Worksheet part 1.Merging 3 blocks.Created the pivot table "time="0.0099"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Join Worksheet part 2"executed="True"result="Failure"success="False"time="1.2062"asserts="0"description="Join Worksheet part 2">
<results>
<test-suitetype="TestFixture"name="Join Worksheet part 2.Bringing 3 Unlinked blocks onto one page"executed="True"result="Failure"success="False"time="0.3008"asserts="0"description="Join Worksheet part 2.Bringing 3 Unlinked blocks onto one page">
<results>
<test-casedescription="Hid the source worksheets "name="Join Worksheet part 2.Bringing 3 Unlinked blocks onto one page.Hid the source worksheets "time="0.1605"asserts="0"success="False"result="Failure"executed="True">
<failure>
<message>UnauthorizedAccessException: Access to the path 'C:\Users\mcp\Documents\GitHub\ImportExcel\__tests__' is denied.
at <ScriptBlock>, C:\Users\mcp\Documents\GitHub\ImportExcel\__tests__\Join-Worksheet.tests.ps1:100</stack-trace>
</failure>
</test-case>
<test-casedescription="Created the Summary sheet with title, and block labels, and copied the correct data "name="Join Worksheet part 2.Bringing 3 Unlinked blocks onto one page.Created the Summary sheet with title, and block labels, and copied the correct data "time="0.0559"asserts="0"success="False"result="Failure"executed="True">
<failure>
<message>UnauthorizedAccessException: Access to the path 'C:\Users\mcp\Documents\GitHub\ImportExcel\__tests__' is denied.
<test-casedescription="Should read local file "name="Test reading relative paths.Should read local file "time="0.12"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should read with pwd "name="Test reading relative paths.Should read with pwd "time="0.1129"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should read with just a file name and resolve to cwd "name="Test reading relative paths.Should read with just a file name and resolve to cwd "time="0.1105"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should fail for not found "name="Test reading relative paths.Should fail for not found "time="0.0046"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should fail for xls extension "name="Test reading relative paths.Should fail for xls extension "time="0.0139"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should fail for xlsxs extension "name="Test reading relative paths.Should fail for xlsxs extension "time="0.0042"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Turned on protection for the sheet "name="Setting worksheet protection .Turned on protection for the sheet "time="0.0126"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Unprotected some cells "name="Setting worksheet protection .Unprotected some cells "time="0.0041"asserts="0"success="True"result="Success"executed="True"/>
<test-suitetype="TestFixture"name="Remove Worksheet.Remove a worksheet output"executed="True"result="Success"success="True"time="6.0017"asserts="0"description="Remove Worksheet.Remove a worksheet output">
<results>
<test-casedescription="Should throw about the Path "name="Remove Worksheet.Remove a worksheet output.Should throw about the Path "time="1.0808"asserts="0"success="True"result="Success"executed="True"/>
<test-suitetype="TestFixture"name="Number format expansion and setting"executed="True"result="Failure"success="False"time="0.2539"asserts="0"description="Number format expansion and setting">
<results>
<test-suitetype="TestFixture"name="Number format expansion and setting.Expand-NumberFormat function"executed="True"result="Success"success="True"time="0.1023"asserts="0"description="Number format expansion and setting.Expand-NumberFormat function">
<results>
<test-casedescription="Expanded named number formats as expected "name="Number format expansion and setting.Expand-NumberFormat function.Expanded named number formats as expected "time="0.0178"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Number format expansion and setting.Apply-NumberFormat"executed="True"result="Failure"success="False"time="0.1682"asserts="0"description="Number format expansion and setting.Apply-NumberFormat">
<message>This test should run but it did not. Most likely a setup in some parent block failed.</message>
<stack-trace/>
</failure>
</test-case>
</results>
</test-suite>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange"executed="True"result="Ignored"success="True"time="0.589"asserts="0"description="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange">
<results>
<test-suitetype="TestFixture"name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelRow and Set-ExcelColumn"executed="True"result="Ignored"success="True"time="0.0697"asserts="0"description="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelRow and Set-ExcelColumn">
<results>
<test-casedescription="Set a row and a column to have zero width/height "name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelRow and Set-ExcelColumn.Set a row and a column to have zero width/height "time="0.0011"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Set a column formula, with numberformat, color, bold face and alignment "name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelRow and Set-ExcelColumn.Set a column formula, with numberformat, color, bold face and alignment "time="0.0011"asserts="0"success="False"result="Ignored"executed="False"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Other formatting"executed="True"result="Ignored"success="True"time="0.1328"asserts="0"description="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Other formatting">
<results>
<test-casedescription="Trapped an attempt to hide a range instead of a Row/Column "name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Other formatting.Trapped an attempt to hide a range instead of a Row/Column "time="0.0011"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Set and calculated a row formula with border font size and underline "name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Other formatting.Set and calculated a row formula with border font size and underline "time="0.0009"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Set custom font, size, text-wrapping, alignment, superscript, border and Fill "name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Other formatting.Set custom font, size, text-wrapping, alignment, superscript, border and Fill "time="0.0009"asserts="0"success="False"result="Ignored"executed="False"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelRange value setting "executed="True"result="Ignored"success="True"time="0.1947"asserts="0"description="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelRange value setting ">
<results>
<test-casedescription="Inserted a formula "name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelRange value setting .Inserted a formula "time="0.0011"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Inserted a value "name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelRange value setting .Inserted a value "time="0.0009"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Inserted a date with localized date-time format "name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelRange value setting .Inserted a date with localized date-time format "time="0.0009"asserts="0"success="False"result="Ignored"executed="False"/>
</results>
</test-suite>
<test-suitetype="TestFixture"name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelColumn Value Setting"executed="True"result="Ignored"success="True"time="0.2574"asserts="0"description="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelColumn Value Setting">
<results>
<test-casedescription="Inserted Hyperlinks "name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelColumn Value Setting.Inserted Hyperlinks "time="0.0013"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Inserted and formatted Dates "name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelColumn Value Setting.Inserted and formatted Dates "time="0.0011"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Inserted Formulas "name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelColumn Value Setting.Inserted Formulas "time="0.0041"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Created Named ranges "name="Set-ExcelColumn, Set-ExcelRow and Set-ExcelRange.Set-ExcelColumn Value Setting.Created Named ranges "time="0.001"asserts="0"success="False"result="Ignored"executed="False"/>
<message>This test should run but it did not. Most likely a setup in some parent block failed.</message>
<stack-trace/>
</failure>
</test-case>
</results>
</test-suite>
</results>
</test-suite>
<test-suitetype="TestFixture"name="AutoNameRange data with a single property name"executed="True"result="Success"success="True"time="1.4049"asserts="0"description="AutoNameRange data with a single property name">
<results>
<test-casedescription="Should have a single item as a named range "name="AutoNameRange data with a single property name.Should have a single item as a named range "time="0.0193"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should have a more than a single item as a named range "name="AutoNameRange data with a single property name.Should have a more than a single item as a named range "time="0.0243"asserts="0"success="True"result="Success"executed="True"/>
<test-suitetype="TestFixture"name="Table Formatting.Setting and not clearing when Export-Excel touches the file again."executed="True"result="Ignored"success="True"time="0.0583"asserts="0"description="Table Formatting.Setting and not clearing when Export-Excel touches the file again.">
<results>
<test-casedescription="Set the Table Options "name="Table Formatting.Setting and not clearing when Export-Excel touches the file again..Set the Table Options "time="0.0011"asserts="0"success="False"result="Ignored"executed="False"/>
<test-casedescription="Set the Pivot Options "name="Table Formatting.Setting and not clearing when Export-Excel touches the file again..Set the Pivot Options "time="0.0009"asserts="0"success="False"result="Ignored"executed="False"/>
<test-suitetype="TestFixture"name="Data validation and protection"executed="True"result="Success"success="True"time="0.2736"asserts="0"description="Data validation and protection">
<results>
<test-suitetype="TestFixture"name="Data validation and protection.Data Validation rules"executed="True"result="Success"success="True"time="0.2122"asserts="0"description="Data validation and protection.Data Validation rules">
<results>
<test-casedescription="Created the expected number of rules "name="Data validation and protection.Data Validation rules.Created the expected number of rules "time="0.0035"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created a List validation rule against a range of Cells "name="Data validation and protection.Data Validation rules.Created a List validation rule against a range of Cells "time="0.0047"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Created an integer validation rule for values between X and Y "name="Data validation and protection.Data Validation rules.Created an integer validation rule for values between X and Y "time="0.0052"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Set Error behaviors for both rules "name="Data validation and protection.Data Validation rules.Set Error behaviors for both rules "time="0.018"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should have a valid manifest "name="Tests.Should have a valid manifest "time="0.1495"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should have two items in the imported simple data "name="Tests.Should have two items in the imported simple data "time="0.0026"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should have items a and b in the imported simple data "name="Tests.Should have items a and b in the imported simple data "time="0.0038"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should read the simple xlsx in < 2100 milliseconds "name="Tests.Should read the simple xlsx in < 2100 milliseconds "time="0.002"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should be able to open, read and close as seperate actions "name="Tests.Should be able to open, read and close as seperate actions "time="0.1124"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should take Paths from parameter "name="Tests.Should take Paths from parameter "time="0.234"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should take Paths from pipeline "name="Tests.Should take Paths from pipeline "time="0.2825"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should support PipelineVariable "name="Tests.Should support PipelineVariable "time="0.119"asserts="0"success="True"result="Success"executed="True"/>
<test-casedescription="Should import without error"name="Module.Should import without error"time="0.2408"asserts="0"success="True"result="Success"executed="True"/>
</results>
</test-suite>
</results>
</test-suite>
</results>
</test-suite>
</test-results>
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.