Releases: andrewrdavidson/PSQualityCheck
Releases · andrewrdavidson/PSQualityCheck
2.0.3 - Minor bug fix
Fix checks file references
2.0.2 - Minor bug fixes
Minor bug fixes
2.0.0 - New project structure and build process
updated to use PSQualityTemplate folder structure
new build process
minor test fixes
1.3.0 - Add -HelpRulesPath
- add parameter to allow HelpElementsRules.psd1 file/location to be specified (
-HelpRulesPath
) - renamed default file to be HelpRules.psd1 to match parameter
- updated documentation to document project layout and additional test
- document HelpRules file format
1.2.1 - Added -ProjectPath
- added
-ProjectPath
to test a project structure - added new Project Checks to test
- whether
-ProjectPath
path adheres to project template layout (folder structure) - when using
-ProjectPath
whether or not unit tests exist for module functions - when using
-ProjectPath
public functions should have verb-noun format (e.g. Get-File) - when using
-ProjectPath
private functions should not have - in them (e.g. GetFile)
- whether
- added Project results to results outputs
- refactored Pester result objects to return as a single object for easier calling
- bugfixes:
- fix clashing variable in
Invoke-Build.ps1
- fix not removing temp folder after use
- fix being able to use
-ShowCheckResults
and-Passthru
at the same time causing a failure in output - fix incorrect script output results by fixing using incorrect variable
- fixed result counts not being correct when excluding tests
- fix clashing variable in
Release 1.2.0 - Include/Exclude tests
- change
-SonarQubeRulesPath
to have a more generic name-ScriptAnalyzerRulesPath
and to accept multiple rule paths - add the ability to specify which checks to run (
-Include
) - add the ability to specify which checks to not run (
-Exclude
)
1.1.1 - Export, Passthru and Configuration object
- added the ability to export the pester test results to XML (
-ExportCheckResults
) - added the ability pass back the generated result objects (
-Passthru
) - add ability to pass in Pester configuration object to allow for some configuration of running Pester tests (
-PesterConfiguration
)
1.1.0 - Path parameter changes and -Recurse flag added
- change
-Path
parameter to only search that path for files - add a
-Recurse
flag to allow recursive search of paths - fixed up unit tests
1.0.10 - The one with all the tests in
- improve the quality of existing components
- add unit tests
- Convert-Help.Tests.ps1
- Export-FunctionsFromModule.Tests.ps1
- Get-FileContent.Tests.ps1
- Get-FileList.Tests.ps1
- Get-FunctionCount.Tests.ps1
- Get-ParsedContent.Tests.ps1
- Get-ParsedFile.Tests.ps1
- Get-ScriptParameters.Tests.ps1
- Get-Token.Tests.ps1
- Get-TokenComponent.Tests.ps1
- Get-TokenMarker.Tests.ps1
- Test-HelpForRequiredTokens.Tests.ps1
- Test-HelpForUnspecifiedTokens.Tests.ps1
- Test-HelpTokensCountIsValid.Tests.ps1
- Test-HelpTokensParamsMatch.Tests.ps1
- Test-HelpTokensTextIsValid.Tests.ps1
- Test-ImportModuleIsValid.Tests.ps1
- Test-ParameterVariablesHaveType.Tests.ps1
- code fixes from faults discovered by unit testing
- make tests follow Pester 5 rules (don't leave Pester 4isms in that just happen to work)
- add unit tests
- refactor to improve code clarity and consistency
- make sure the file references are all -Path?
- platform testing
- Server 2016
- Server 2019
- Linux
- Ubuntu 20.04
1.0.10-alpha2 - Module prepared for PowerShell Gallery
- Build module at version alpha2 for PowerShell Gallery
- Remove version alpha1 from PowerShell Gallery as it was incorrectly built
alpha1 release:
- fixes to Convert-Help
- fixes to Invoke-PSQualityCheck to support linux
- added some unit tests
- improved check naming to be consistent and clearer
- various code reformat and comment updates