Skip to content

Commit e3dc33a

Browse files
feat: enhance documentation for Get-TestItemsFromFolder and Find-TestDirectory functions
1 parent 4862d21 commit e3dc33a

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

scripts/main.ps1

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -231,18 +231,18 @@ process {
231231
}
232232
Write-Host "Tests found at [$testsPath]"
233233

234-
<#
235-
.SYNOPSIS
234+
function Get-TestItemsFromFolder {
235+
<#
236+
.SYNOPSIS
236237
Retrieves test items from a specified folder.
237238
238-
.DESCRIPTION
239+
.DESCRIPTION
239240
Searches for test configuration, container, or test script files within the specified folder.
240241
241-
.OUTPUTS
242+
.OUTPUTS
242243
System.IO.FileInfo[]
243244
Returns an array of FileInfo objects representing the test items found.
244-
#>
245-
function Get-TestItemsFromFolder {
245+
#>
246246
[CmdletBinding()]
247247
param (
248248
# The path to the folder containing test items.
@@ -265,18 +265,18 @@ process {
265265
return $testFiles
266266
}
267267

268-
<#
269-
.SYNOPSIS
270-
Recursively finds all test directories.
268+
function Find-TestDirectory {
269+
<#
270+
.SYNOPSIS
271+
Recursively finds all test directories.
271272
272-
.DESCRIPTION
273-
Recursively searches for all subdirectories within the specified path.
273+
.DESCRIPTION
274+
Recursively searches for all subdirectories within the specified path.
274275
275-
.OUTPUTS
276-
System.String[]
277-
Returns an array of directory paths.
278-
#>
279-
function Find-TestDirectory {
276+
.OUTPUTS
277+
System.String[]
278+
Returns an array of directory paths.
279+
#>
280280
[CmdletBinding()]
281281
param(
282282
#The root path to search for test directories.

0 commit comments

Comments
 (0)