github pester/Pester 3.3.9

latest releases: 5.6.0-beta1, 5.5.0, 5.5.0-rc1...
8 years ago
  • Fixed Describe's handling of TestName filter when multiple strings are passed to Invoke-Pester's -TestName parameter.
  • Failing BeforeEach or AfterEach will fail the test [GH-326]
  • Added BeOfType operator to the Should command. [GH-327]
  • Fixed BeforeEach / etc parsing in PSv3+ so breakpoints and automatic variables ($PSCommandPath, etc) will work properly. [GH-333]
  • Fixed bug in 'Should Be' when comparing strings, and null or empty strings are piped in to the Should command. [GH-333]
  • Added some calls to Write-Progress in the It command. [GH-322]
  • Bug fix when mocking functions that are in the global scope; the original functions were being lost when the Describe block ended. [GH-323]
  • Improved failed assertion output from Assert-MockCalled; now behaves more like Should. [GH-324]
  • Added -ExclusiveFilter parameter to Assert-MockCalled. Works like -ParameterFilter, except there also must not be any calls to the mocked command which do not match the filter.
  • Added the "bin" folder to the PATH environment variable when installing from Chocolatey. Also removed the hard-coded -OutputXml and -Strict parameters from this file; only -EnableExit is always used from the bat file now. [GH-281]
  • PassThru object (when used in conjunction with -CodeCoverage) now includes information about Hit commands in addition to Missed commands. [GH-341]
  • Improvements to support for mocking advanced fynctions with dynamic parameters. [GH-346]
  • Fix for PowerShell v2 bug when mocking commands that have an -ArgumentList parameter with validation attributes. [GH-354]
  • Fixed stack trace output when the call to Should is in a file other than the file that contains the It block. [GH-358]

Don't miss a new Pester release

NewReleases is sending notifications on new releases.