-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding PSModuleInfo.Test(s) (Fixes #104)
Also, documenting PSModuleInfo.Demo (#81)
- Loading branch information
James Brundage
committed
Aug 2, 2023
1 parent
208f3b2
commit 051e8c0
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
Screenshots = 'Screenshot' | ||
Videos = 'Video' | ||
Demos = 'Demo' | ||
Tests = 'Test' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
$this | Split-Path | Get-ChildItem -Recurse -Filter *.demo.ps1 | Select-Object -Unique | ||
<# | ||
.SYNOPSIS | ||
Gets module demos | ||
.DESCRIPTION | ||
Gets demo files related to a module. | ||
.EXAMPLE | ||
$Posh.Demos | ||
.LINK | ||
https://github.com/StartAutomating/ShowDemo | ||
#> | ||
$this | | ||
Split-Path | | ||
Get-ChildItem -Recurse -Filter *.demo.ps1 | | ||
Select-Object -Unique |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<# | ||
.SYNOPSIS | ||
Gets module tests | ||
.DESCRIPTION | ||
Gets Pester Tests located within a module. | ||
#> | ||
$this | | ||
Split-Path | | ||
Get-ChildItem -Recurse -Filter *.tests.ps1 | | ||
Select-Object -Unique |