Skip to content

Releases: andrewrdavidson/PSQualityCheck

2.0.3 - Minor bug fix

18 Jan 13:38
9f248fd
Compare
Choose a tag to compare

Fix checks file references

2.0.2 - Minor bug fixes

18 Jan 10:51
f1cd2e5
Compare
Choose a tag to compare

Minor bug fixes

2.0.0 - New project structure and build process

29 Apr 14:50
2e5d935
Compare
Choose a tag to compare

updated to use PSQualityTemplate folder structure
new build process
minor test fixes

1.3.0 - Add -HelpRulesPath

27 Jan 12:54
34f7462
Compare
Choose a tag to compare
  • 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

23 Jan 14:03
e2d6b1a
Compare
Choose a tag to compare
  • 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)
  • 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

Release 1.2.0 - Include/Exclude tests

21 Jan 18:03
2e78457
Compare
Choose a tag to compare
  • 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

20 Jan 12:37
072ffde
Compare
Choose a tag to compare
  • 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

14 Jan 11:03
cbaa5ff
Compare
Choose a tag to compare
  • 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

11 Jan 16:21
0f181b1
Compare
Choose a tag to compare
  • 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)
  • 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

07 Jan 19:57
433fb38
Compare
Choose a tag to compare
  • 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