From 8b6bcabdaf15b174b285fc2b849337706e16097f Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Thu, 19 May 2016 14:30:55 -0700 Subject: [PATCH] Skip slow tests in Start-PSPester This will skip them for Linux and OS X (which are currently slower than AppVeyor). --- build.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.psm1 b/build.psm1 index 05ffa606f..8b8e4fb72 100644 --- a/build.psm1 +++ b/build.psm1 @@ -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"