Skip to content

[Feature Request]: Automate Static Validation documentation #1428

@eriqua

Description

@eriqua

Description

We should improve the documentation of the Pester tests we run.

A standard Wiki page listing them is probably not the best choice as the list can soon get stale.

Discuss extending the pipeline generating the Wiki from docs with a function retrieving the test description from the global tests file and printing the list to an automatically generated Wiki page.

E.g. from the It:

It "[<moduleFolderName>] outputs' description should start with a capital letter and contain text ending with a dot." -TestCases $deploymentFolderTestCases {
...
It '[<moduleFolderName>] All parameters in parameters files exist in template file (deploy.json)' -TestCases $deploymentFolderTestCases {
...
It '[<moduleFolderName>] All required parameters in template file (deploy.json) should exist in parameters files' -TestCases $deploymentFolderTestCases {

generate and publish

This is the list of Pester tests:
- Outputs' description should start with a capital letter and contain text ending with a dot.
- All parameters in parameters files exist in template file (deploy.json)
- All required parameters in template file (deploy.json) should exist in parameters files

Metadata

Metadata

Assignees

Labels

[cat] testingcategory: testingdocumentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions