Skip to content

Conversation

@nohwnd
Copy link
Member

@nohwnd nohwnd commented Feb 27, 2023

PR Summary

Renames -TestCases parameter on It to -ForEach to follow documentation, and be consistent with Describe and Context.
Fixes the docs in inline help to use that name.

The former -TestCases name is made an alias.

$testCases in the examples is kept on purpose to make it easy to see what is being referred as array of hashtables.

Fix #2310

PR Checklist

  • PR has meaningful title
  • Summary describes changes
  • PR is ready to be merged
    • If not, use the arrow next to Create Pull Request to mark it as a draft. PR can be marked Ready for review when it's ready.
  • Tests are added/update (if required)
  • Documentation is updated/added (if required)

@nohwnd nohwnd marked this pull request as ready for review June 16, 2023 09:50
@nohwnd nohwnd merged commit 4f05350 into main Jun 16, 2023
@nohwnd nohwnd deleted the fix-foreach-and-testcases branch June 16, 2023 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

It uses TestCases instead of ForEach

3 participants