Skip to content

Add per-file discovery and run mode (fixes #2723)#2725

Draft
nohwnd wants to merge 1 commit into
mainfrom
fix/2723-per-file-execution
Draft

Add per-file discovery and run mode (fixes #2723)#2725
nohwnd wants to merge 1 commit into
mainfrom
fix/2723-per-file-execution

Add per-file discovery and run mode (issue 2723)

08f679a
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / PSScriptAnalyzer succeeded Jun 17, 2026 in 4s

3 new alerts

New alerts in code changed by this pull request

  • 1 warning
  • 2 notes

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 2521 in src/Pester.Runtime.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

The parameter 'private:d' has been declared but not used. Warning

The parameter 'private:d' has been declared but not used.

Check notice on line 2040 in src/Pester.Runtime.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

The built-in *-Object-cmdlets are slow compared to alternatives in .NET. To fix a violation of this rule, consider using an alternative like foreach/for-keyword etc.`. Note

The built-in *-Object-cmdlets are slow compared to alternatives in .NET. To fix a violation of this rule, consider using an alternative like foreach/for-keyword etc.`.

Check notice on line 2330 in src/Pester.Runtime.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

The built-in *-Object-cmdlets are slow compared to alternatives in .NET. To fix a violation of this rule, consider using an alternative like foreach/for-keyword etc.`. Note

The built-in *-Object-cmdlets are slow compared to alternatives in .NET. To fix a violation of this rule, consider using an alternative like foreach/for-keyword etc.`.