Skip to content

Update Start-PSPester and Restore-PSPester cmdlets in build.psm1 to check for Pester 4.2 - #6667

Merged
Travis Plunk (TravisEz13) merged 5 commits into
PowerShell:masterfrom
kalgiz:start-pspester-update
Apr 27, 2018
Merged

Update Start-PSPester and Restore-PSPester cmdlets in build.psm1 to check for Pester 4.2#6667
Travis Plunk (TravisEz13) merged 5 commits into
PowerShell:masterfrom
kalgiz:start-pspester-update

Conversation

@kalgiz

@kalgiz Klaudia Algiz (kalgiz) commented Apr 16, 2018

Copy link
Copy Markdown
Contributor

PR Summary

Update Start-PSPester and Restore-PSPester cmdlets in buil.psm1 to check for Pester 4.2+ to support exception passthru.

PR Checklist

Comment thread build.psm1 Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to follow a process when we update a version. Please use -RequiredVersion

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@kalgiz Klaudia Algiz (kalgiz) changed the title WIP - Update Start-PSPester and Restore-PSPester cmdlets in buil.psm1 to check for Pester 4.2+ to support exception passthru. Update Start-PSPester and Restore-PSPester cmdlets in buil.psm1 to check for Pester 4.2+ Apr 17, 2018
@adityapatwardhan Aditya Patwardhan (adityapatwardhan) changed the title Update Start-PSPester and Restore-PSPester cmdlets in buil.psm1 to check for Pester 4.2+ Update Start-PSPester and Restore-PSPester cmdlets in build.psm1 to check for Pester 4.2+ Apr 17, 2018
Comment thread build.psm1 Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add a specific error that the expected version is not found.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Special warning for too low version added.

Comment thread build.psm1 Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is an alias for Where-Object. Please use Where-Object.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@TravisEz13 Travis Plunk (TravisEz13) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if you address Aditya Patwardhan (@adityapatwardhan) 's comments

@TravisEz13

Copy link
Copy Markdown
Member

Aditya Patwardhan (@adityapatwardhan) can you update your review?

@TravisEz13 Travis Plunk (TravisEz13) changed the title Update Start-PSPester and Restore-PSPester cmdlets in build.psm1 to check for Pester 4.2+ Update Start-PSPester and Restore-PSPester cmdlets in build.psm1 to check for Pester 4.2 Apr 27, 2018
@TravisEz13
Travis Plunk (TravisEz13) merged commit e9b045e into PowerShell:master Apr 27, 2018
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
…heck for Pester 4.2 (PowerShell#6667)

Update Start-PSPester and Restore-PSPester cmdlets in buil.psm1 to check for Pester 4.2 to support exception passthru.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants