-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check optional vs required parameter description Feature Request #1034
Labels
[cat] modules
category: modules
[cat] testing
category: testing
documentation
Improvements or additions to documentation
enhancement
New feature or request
Comments
eriqua
added
enhancement
New feature or request
good first issue
Good for newcomers
[cat] modules
category: modules
labels
Feb 22, 2022
Is this not already done? ResourceModules/arm/.global/global.module.tests.ps1 Lines 692 to 713 in b1af5ff
|
That is checking for the description regex but does not check if a default value is provided in case the description is Optional. |
eriqua
added
documentation
Improvements or additions to documentation
and removed
good first issue
Good for newcomers
labels
May 3, 2022
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[cat] modules
category: modules
[cat] testing
category: testing
documentation
Improvements or additions to documentation
enhancement
New feature or request
Description
Verify the description for Optional parameters is correct, i.e. parameter description should start with "Optional" if a default value is provided.
Verify the description for Required and Conditional parameters is correct, i.e. if the parameter description starts with "Required" or "Conditional" no default value should be provided.
For each of these scenarios a Pester test should be created.
The text was updated successfully, but these errors were encountered: