mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-27 03:46:23 +08:00
Start-PSPester: argument completer for -Path (#17334)
This commit is contained in:
parent
736cf3ecbf
commit
80a207160b
@ -1167,6 +1167,7 @@ function Start-PSPester {
|
||||
[CmdletBinding(DefaultParameterSetName='default')]
|
||||
param(
|
||||
[Parameter(Position=0)]
|
||||
[ArgumentCompleter({param($c,$p,$word) Get-ChildItem -Recurse -File -LiteralPath $PSScriptRoot/Test/PowerShell -filter *.tests.ps1 | Where-Object FullName -like "*$word*" })]
|
||||
[string[]]$Path = @("$PSScriptRoot/test/powershell"),
|
||||
[string]$OutputFormat = "NUnitXml",
|
||||
[string]$OutputFile = "pester-tests.xml",
|
||||
|
Loading…
Reference in New Issue
Block a user