Skip to content

Commit

Permalink
add more links to comment help
Browse files Browse the repository at this point in the history
  • Loading branch information
mwrock committed Oct 22, 2012
1 parent 9cb79be commit 4febe75
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions Functions/Context.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Describe "Add-Numbers" {
.LINK
Describe
It
about_TestDrive
#>
param(
Expand Down
3 changes: 3 additions & 0 deletions Functions/Describe.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ Describe "Add-Numbers" {
.LINK
It
Context
Invoke-Pester
about_TestDrive
#>
param(
Expand Down
2 changes: 2 additions & 0 deletions Functions/It.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ Describe "Add-Numbers" {
.LINK
Describe
Context
about_should
#>
param(
$name,
Expand Down
2 changes: 2 additions & 0 deletions Functions/Mock.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ Get-ChildItem $env:temp\me
Here, B_File.TXT will be returned. Even though the filterless mock was created last. This illustrates that filterless Mocks are always evaluated last regardlss of their creation order.
.LINK
about_Mocking
#>

param(
Expand Down
4 changes: 4 additions & 0 deletions Pester.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ This runs all tests from the current directory downwards and writes the results
.LINK
Describe
about_pester
#>
param(
Expand Down Expand Up @@ -146,7 +147,10 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path
.LINK
Describe
Context
It
about_Pester
about_Should
#>
param(
$path,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ Some further reading and resources:

* [powershell-bdd-testing-pester-screencast](http://scottmuc.com/blog/development/powershell-bdd-testing-pester-screencast/)
* [pester-bdd-for-the-system-administrator](http://scottmuc.com/blog/development/pester-bdd-for-the-system-administrator/)
* ````C:\PS> Import-Module ./pester.psm1; Get-Help about_pester
* `C:\PS> Import-Module ./pester.psm1; Get-Help about_pester`
2 changes: 1 addition & 1 deletion en-US/about_Pester.help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ DESCRIPTION
mimic and mock the functionality of any command inside of a piece of
powershell code being tested. See about_Mocking.

CREATING PESTER TEST WITH
CREATING A PESTER TEST
To start using Pester, You may use the Add-Fixture function to scaffold both
a new implemntation function and a test function.

Expand Down

0 comments on commit 4febe75

Please sign in to comment.