PowerShell/test/powershell/Modules/Microsoft.PowerShell.Core/Set-PSDebug.Tests.ps1
James Truher 9e225ccae2 changes tags for tests
Start using tags CI, Feature, Scenario
2016-07-27 12:06:51 -07:00

18 lines
558 B
PowerShell

Describe "Set-PSDebug" -Tags "CI" {
Context "Tracing can be used" {
AfterEach {
Set-PSDebug -Off
}
It "Should be able to go through the tracing options" -Skip:($env:APPVEYOR -eq "TRUE") {
{ Set-PSDebug -Trace 0 } | Should Not Throw
{ Set-PSDebug -Trace 1 } | Should Not Throw
{ Set-PSDebug -Trace 2 } | Should Not Throw
}
It "Should be able to set strict" -Skip:($env:APPVEYOR -eq "TRUE") {
{ Set-PSDebug -Strict } | Should Not Throw
}
}
}