-
-
Notifications
You must be signed in to change notification settings - Fork 479
Closed
Description
Checklist
- Issue has a meaningful title
- I have searched the existing issues. See all issues
- I have tested using the latest version of Pester. See Installation and update guide.
What is the issue?
The Data driven tests mentions that -ForEach is the parameter name and -TestCases is an alias for bc. However this is not the case the code is the opposite.
To define examples for a test, use -ForEach on an It block. On It block the parameter is also aliased -TestCases for backwards compatibility.
Lines 131 to 132 in d81fdbc
| [Alias("ForEach")] | |
| [object[]] $TestCases, |
Expected Behavior
Code and docs match
Steps To Reproduce
No response
Describe your environment
No response
Possible Solution?
No response
Metadata
Metadata
Assignees
Labels
No labels