Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Module to test your Projects against the HQRM guidelines

License

NotificationsYou must be signed in to change notification settings

pvs043/DscResource.Test

 
 

Build StatusCode CoverageAzure DevOps testsPowerShell Gallery (with prereleases)PowerShell Gallery

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).

Usage

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.test

Execute against a Built module:

Invoke-DscResourceTest-Module UpdateServicesDsc

Dependencies

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.

Contributing

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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell100.0%

[8]ページ先頭

©2009-2025 Movatter.jp