mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
changes tags for tests
Start using tags CI, Feature, Scenario
This commit is contained in:
1 parent
1349372b39
commit
9e225ccae2
145 files changed
+248
-248
No files matched your search
@@ -1,6 +1,6 @@
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
|
||||
Describe "ConvertFrom-Csv" {
|
||||
Describe "ConvertFrom-Csv" -Tags "CI" {
|
||||
$testObject = "a", "1"
|
||||
$testcsv = Join-Path -Path (Join-Path -Path $here -ChildPath assets) -ChildPath TestCsv2.csv
|
||||
$testName = "Zaphod BeebleBrox"
|
||||
@@ -51,7 +51,7 @@ a,b,c
|
||||
}
|
||||
}
|
||||
|
||||
Describe "ConvertFrom-Csv DRT Unit Tests" -Tags DRT{
|
||||
Describe "ConvertFrom-Csv DRT Unit Tests" -Tags "CI" {
|
||||
It "Test ConvertFrom-Csv with pipelined InputObject and Header" {
|
||||
$inputObject = [pscustomobject]@{ First = 1; Second = 2 }
|
||||
$res = $inputObject | ConvertTo-Csv
|
||||
@@ -62,4 +62,4 @@ Describe "ConvertFrom-Csv DRT Unit Tests" -Tags DRT{
|
||||
$result[1].Header1 | Should Be "1"
|
||||
$result[1].Header2 | Should Be "2"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user