1. X
  2. Pester
Log inSign up
Pester
969 posts
Pester profile banner
user avatar

Pester

@PSPester
PowerShell BDD and TDD testing framework. Includes tools for function testing, module testing, mocking, code coverage and more.
github.com/pester/Pester
Joined September 2014
593
Following
2,838
Followers
RepliesRepliesMediaMedia
  • user avatar
    Pester
    @PSPester
    6h
    New in Pester 6.1.0-rc1: got one file that must keep its order while the rest shuffle? Put #pester:no-shuffle as a comment at the top of it. Per file, not all or nothing. #pspester #powershell
  • user avatar
    Pester
    @PSPester
    16h
    The Pester docs have a follow-along tutorial now, written by @FrodeFlaten. Empty folder to a tested PowerShell module running in CI, in order. There is no sample project to download, you type every line yourself. pester.dev/tutorial
    Image
  • user avatar
    Pester
    @PSPester
    18h
    Should-* was a closed set. Not anymore. Pester 6.1.0 lets you write your own assertion with New-ShouldAssertion, and it gets everything a built-in one has: pipeline input, value formatting, the hints, soft assertions. github.com/pester/Pester/โ€ฆ #pspester #powershell
    Image
    Release 6.1.0 ยท pester/Pester
    From github.com
  • user avatar
    Pester
    @PSPester
    21h
    Pester 6: every Should-* takes the value from the pipeline, or explicitly with -Actual. Should-Be -Actual 5 -Expected 5. Handy when there is nothing to pipe. #pspester #powershell
  • user avatar
    Pester
    @PSPester
    Aug 10
    Pester reads each test file twice: a discovery pass to find the tests, then a run pass. Code directly inside a Describe runs during discovery, so build your -ForEach cases in BeforeDiscovery, not BeforeAll. #pspester #powershell

Log in or sign up for X

See whatโ€™s happening and join the conversation

Continue with phone
or
Log in with username or email
TermsยทPrivacyยทCookiesยทAccessibilityยทAds Infoยทยฉ 2026 X Corp.
Advertisement
Advertisement