- Notifications
You must be signed in to change notification settings - Fork0
Module to test your Projects against the HQRM guidelines
License
pvs043/DscResource.Test
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a PowerShell module designed to help testing your projects against HQRM guidelines.
You can run the tests against the source of your project or against a built module.
The format expected for your project followsthe Samplertemplate (basically the source code in a source/src/ModuleName folder, anda built version in the output folder).
Although this module is best used as part of the Sampler template pipelineautomation, you can also use this in a standalone or custom way.
Install the module from the PowerShell Gallery:
Install-Module DscResource.testExecute against a Built module:
Invoke-DscResourceTest-Module UpdateServicesDsc
This module depends on:
- Pester: This is a collection of generic Pester tests to run against your builtmodule or source code.
- PSScriptAnalyzer: Some tests are just validating you comply with some of theguidances set in PSSA rules and with custom rules.
- DscResource.AnalyzerRules: This is the custom rules we've created to enforcea standard across the DscResource module we look after as a community.
- xDscResourceDesigner: Because it offers MOF and DSC Resource testing capabilities.
TheContributing guidelines can be found here.
This project has continuous testing running on Windows, MacOS, Linux, with bothWindows PowerShell 5.1 and the PowerShell version available on the Azure DevOpsagents.
Quick Start:
PS C:\src\> git clone git@github.com:dsccommunity/DscResource.Test.gitPS C:\src\> cd DscResource.TestPS C:\src\DscResource.Test> build.ps1-ResolveDependency# this will first bootstrap the environment by downloading dependencies required# then run the '.' task workflow as defined in build.yml
About
Module to test your Projects against the HQRM guidelines
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Languages
- PowerShell100.0%