update .gitignore

This commit is contained in:
dfinke
2018-05-27 13:35:15 -04:00
parent 64f55c8ba4
commit a9ae83b586
12 changed files with 36 additions and 37 deletions

1
.gitignore vendored
View File

@@ -55,4 +55,3 @@ test.xlsx
testCCFMT.ps1 testCCFMT.ps1
testHide.ps1 testHide.ps1
ImportExcel.zip ImportExcel.zip
*.xlsx

BIN
Examples/Charts/Tools.xlsx Normal file

Binary file not shown.

Binary file not shown.

BIN
Examples/Fibonacci/fib.xlsx Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,49 +1,49 @@
Import-Module $PSScriptRoot\..\..\ImportExcel.psd1 # Import-Module $PSScriptRoot\..\..\ImportExcel.psd1
Describe "test" { # Describe "test" {
It 'Export-Excel should be there' { # It 'Export-Excel should be there' {
((Get-Command export-excel -ErrorAction SilentlyContinue) -eq $null) | Should Be $false # ((Get-Command export-excel -ErrorAction SilentlyContinue) -eq $null) | Should Be $false
} # }
It "$PSScriptRoot\Simple.xlsx should exist" { # It "$PSScriptRoot\Simple.xlsx should exist" {
# "$PSScriptRoot\Simple.xlsx" | should be "C:\projects\importexcel\UnitTests\ImportExcelTests\Simple.xlsx" # # "$PSScriptRoot\Simple.xlsx" | should be "C:\projects\importexcel\UnitTests\ImportExcelTests\Simple.xlsx"
# (Test-Path "C:\projects\importexcel\UnitTests\ImportExcelTests\Simple.xlsx") | should be $true # # (Test-Path "C:\projects\importexcel\UnitTests\ImportExcelTests\Simple.xlsx") | should be $true
# (Test-Path "C:\projects\importexcel\UnitTests\ImportExcelTests") | should be $true # # (Test-Path "C:\projects\importexcel\UnitTests\ImportExcelTests") | should be $true
@(ls "C:\projects\importexcel\UnitTests\ImportExcelTests").count | should be 2 # @(ls "C:\projects\importexcel\UnitTests\ImportExcelTests").count | should be 2
# "$pwd\Simple.xlsx" | should be "C:\Users\Douglas\Documents\GitHub\ImportExcel\UnitTests\ImportExcelTests\Simple.xlsx" # # "$pwd\Simple.xlsx" | should be "C:\Users\Douglas\Documents\GitHub\ImportExcel\UnitTests\ImportExcelTests\Simple.xlsx"
# ((ls "$pwd\Simple.xlsx") -eq $null) | should be $false # # ((ls "$pwd\Simple.xlsx") -eq $null) | should be $false
# ((ls "$PSScriptRoot\Simple.xlsx") -eq $null) | should be $false # # ((ls "$PSScriptRoot\Simple.xlsx") -eq $null) | should be $false
# Test-Path "$PSScriptRoot\Simple.xlsx" | Should Be $true # # Test-Path "$PSScriptRoot\Simple.xlsx" | Should Be $true
#$PSScriptRoot\Simple.xlsx | should be "C:\projects\importexcel\UnitTests\ImportExcelTests\Simple.xlsx" # #$PSScriptRoot\Simple.xlsx | should be "C:\projects\importexcel\UnitTests\ImportExcelTests\Simple.xlsx"
} # }
} # }
# Import-Module $PSScriptRoot\..\..\ImportExcel.psd1 Import-Module $PSScriptRoot\..\..\ImportExcel.psd1
# $data = $null # $data = $null
# $timer = Measure-Command { # $timer = Measure-Command {
# $data = Import-Excel $PSScriptRoot\Simple.xlsx # $data = Import-Excel $PSScriptRoot\Simple.xlsx
# } # }
# Describe "Tests" { Describe "Tests" {
# # BeforeAll { BeforeAll {
# # $data = $null $data = $null
# # $timer = Measure-Command { $timer = Measure-Command {
# # $data = Import-Excel $PSScriptRoot\Simple.xlsx $data = Import-Excel $PSScriptRoot\Simple.xlsx
# # } }
# # } }
# It "Should have two items" { It "Should have two items" {
# $data.count | Should be 2 $data.count | Should be 2
# } }
# It "Should have items a and b" { It "Should have items a and b" {
# $data[0].p1 | Should be "a" $data[0].p1 | Should be "a"
# $data[1].p1 | Should be "b" $data[1].p1 | Should be "b"
# } }
# It "Should read fast <25 milliseconds" { It "Should read fast <25 milliseconds" {
# $timer.TotalMilliseconds | should BeLessThan 25 $timer.TotalMilliseconds | should BeLessThan 25
# } }
# } }

Binary file not shown.

BIN
dashboard.xlsx Normal file

Binary file not shown.

BIN
test1.xlsx Normal file

Binary file not shown.

BIN
testTable.xlsx Normal file

Binary file not shown.