Merge pull request #1011 from PowerShell/andschwa/slow-tests
Skip slow Pester tests
This commit is contained in:
commit
360998b3e8
3 changed files with 3 additions and 3 deletions
|
@ -311,7 +311,7 @@ function Get-PSOutput {
|
|||
|
||||
function Start-PSPester {
|
||||
[CmdletBinding()]param(
|
||||
[string]$Flags = '-EnableExit -OutputFile pester-tests.xml -OutputFormat NUnitXml',
|
||||
[string]$Flags = "-ExcludeTag 'Slow' -EnableExit -OutputFile pester-tests.xml -OutputFormat NUnitXml",
|
||||
[string]$Tests = "*",
|
||||
[ValidateScript({ Test-Path -PathType Container $_})]
|
||||
[string]$Directory = "$PSScriptRoot/test/powershell"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Describe "Send-Greeting cmdlet" {
|
||||
Describe "Send-Greeting cmdlet" -Tag 'Slow' {
|
||||
It "Should be able build the cmdlet" {
|
||||
Remove-Item -Recurse -Force bin -ErrorAction SilentlyContinue
|
||||
dotnet restore --verbosity Error | Should BeNullOrEmpty
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using namespace System.Diagnostics
|
||||
|
||||
Describe "ConsoleHost unit tests" {
|
||||
Describe "ConsoleHost unit tests" -Tag 'Slow' {
|
||||
$powershell = Join-Path -Path $PsHome -ChildPath "powershell"
|
||||
|
||||
Context "CommandLine" {
|
||||
|
|
Loading…
Reference in a new issue