Skip to content
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

Add additional base unit tests to verify function syntax #1283

Closed
Badgerati opened this issue Apr 8, 2024 · 0 comments · Fixed by #1284
Closed

Add additional base unit tests to verify function syntax #1283

Badgerati opened this issue Apr 8, 2024 · 0 comments · Fixed by #1284

Comments

@Badgerati
Copy link
Owner

Describe the Change

Within the _.Tests.ps1 unit test file, add further tests to validate function/alias structure:

  • All functions created in /Public are within the Pode.psd1 file's FunctionsToExport
  • All aliases created in /Public are within the Pode.psd1 file's AliasesToExport
  • All Functions have the Pode tag, and are using approved PowerShell verbs (Get-Verb)
  • All Aliases have the Pode tag, and are using approved PowerShell verbs (Get-Verb)

Also fix any issues these might flag such as functions that should be in the psd1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant