Log inSign up
Pester
991 posts
Pester profile banner
@PSPester

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
591
Following
2,838
Followers
RepliesRepliesRepostsRepostsMediaMedia

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.
  • @PSPester
    Pester
    @PSPester
    Sep 3
    Pester 6: run an assertion over every item. 1,2,3 | Should-All { $_ | Should-BeGreaterThan 0 }. A nested Should failure counts as that item failing, and Pester tells you which one. #pspester #powershell
  • @PSPester
    Pester
    @PSPester
    Sep 2
    Pester 6: Should-BeCollection compares by contents and ignores the concrete type, so an object[] and a List[int] with the same items are equal. Or check only the size with -Count 3. #pspester #powershell
  • @PSPester
    Pester
    @PSPester
    Sep 1
    Pester 6: comparing objects but one field is a random id or timestamp? Should-BeEquivalent $expected -ExcludePath 'Id', 'user.name'. Dotted paths reach nested properties. #pspester #powershell
  • @PSPester
    Pester
    @PSPester
    Aug 31
    New in Pester 6.1: drop a Pester.BeforeContainer.ps1 at your repo root and Pester dot-sources it into every test file before it runs. Handy for parallel runs that start from clean runspaces. #pspester #powershell
  • @PSPester
    Pester
    @PSPester
    Aug 30
    Pester 6: Should-BeEquivalent deep-compares objects, recursively and order-insensitive, property by property. Check a whole API response against an expected object in one line. #pspester #powershell
Advertisement
Advertisement