Skip to content

Commit fd551d3

Browse files
Clarify recursive test entry examples
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent ad06b68 commit fd551d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/docs/Frameworks/Process-PSModule/pipeline-stages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ The [PSModule - SourceCode tests](https://github.com/PSModule/Process-PSModule/b
114114
- Supports two special workflow phase scripts executed via separate dedicated jobs:
115115
- `tests/BeforeAll.ps1`: Runs once before all module-local test matrix jobs to set up the test environment (e.g., deploy infrastructure, download test data).
116116
- `tests/AfterAll.ps1`: Runs once after all module-local test matrix jobs complete to clean up the test environment (e.g., remove test resources, clean up databases).
117-
- The workflow checks only those exact repository-root paths; phase detection is non-recursive. Ordinary Advanced test entries may still be discovered recursively under `tests/`, but nested files named `BeforeAll.ps1` or `AfterAll.ps1` do not create workflow phases.
117+
- The workflow checks only those exact repository-root paths; phase detection is non-recursive. Ordinary module-local test entries in an Advanced layout (such as `*.Configuration.ps1`, `*.Container.ps1`, and `*.Tests.ps1`) may still be discovered recursively under `tests/`, but nested files named `BeforeAll.ps1` or `AfterAll.ps1` do not create workflow phases.
118118
- The two phase scripts run with the same environment variables as the tests.
119-
- This produces a JSON-based report that is used by [Get-PesterTestResults](#get-test-results) evaluate the results of the tests.
119+
- This produces a JSON-based report that is used by [Get-PesterTestResults](#get-test-results) to evaluate the results of the tests.
120120

121121
### Setup and Teardown Scripts
122122

0 commit comments

Comments
 (0)