mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Merge pull request #1011 from PowerShell/andschwa/slow-tests
Skip slow Pester tests
This commit is contained in:
commit
360998b3e8
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -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" {
|
||||
|
||||
Reference in new issue
Block a user