Skip to content

Commit

Permalink
Add documentation of Pending and Skip parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd committed May 15, 2015
1 parent 0b8c27d commit d6bbfd4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Functions/It.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ AAA pattern (Arrange-Act-Assert), this typically holds the
Assert.
.PARAMETER Pending
Marks the test as pending, that is inconclusive/not implemented. The test will not run and will
Use this parameter to explicitly mark the test as work-in-progress/not implemented/pending when you
need to distinguish a test that fails because it is not finished yet from a tests
that fail as a result of changes being made in the code base. An empty test, that is a
test that contains nothing except whitespace or comments is marked as Pending by default.
.PARAMETER Skip
Use this parameter to explicitly mark the test to be skipped. This is preferable to temporarily
commenting out a test, because the test remains listed in the output. Use the Strict parameter
of Invoke-Pester to force all skipped tests to fail.
.PARAMETER TestCases
Optional array of hashtable (or any IDictionary) objects. If this parameter is used,
Expand Down

0 comments on commit d6bbfd4

Please sign in to comment.