Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancements #91

Merged
merged 9 commits into from
Aug 8, 2024
Merged

Enhancements #91

merged 9 commits into from
Aug 8, 2024

Conversation

techthoughts2
Copy link
Owner

Pull Request

Issue

Fixes #88 #89 #90

Description

  • Catesta template module changes
    • CI/CD Changes:
    • New template question: Catesta now asks if PowerShell Classes will be used in the module project. If Yes is specified a Classes structure will be scaffold.
    • Sample pester tests for Pester v5 refactored to follow Pester 5 rules
    • Refactored ExportedFunctions.Tests.ps1 for better efficiency in loops
    • Minor spelling correction in sample Pester tests
    • tasks.json
      • Test task is now explicitly set as default test task
  • Catesta primary module changes
    • tasks.json
      • Test task is now explicitly set as default test task
    • Pester bumped from 5.5.0 to 5.6.1
    • InvokeBuild bumped from 5.11.1 to 5.11.3
    • Adjusted action bootstrap for module installs to include a SkipPublisherCheck when installing Pester module on Windows builds. (Pester module warning 'CN=Jakub Jareš, O=Jakub Jareš, L=Praha, C=CZ' pester/Pester#2389)
    • Refactored all unit and infra tests to adhere to Pester 5 rules
    • Refactored ExportedFunctions.Tests.ps1 for better efficiency in loops

License

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@techthoughts2 techthoughts2 added bug Something isn't working enhancement New feature or request labels Aug 8, 2024
@techthoughts2 techthoughts2 self-assigned this Aug 8, 2024
@techthoughts2 techthoughts2 merged commit 3065365 into main Aug 8, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pester - Adapt to pester 5 rules
3 participants