EliziumNet/RexFs

Test failure after upgrading to Pester 5.3.0-beta

Closed this issue · 1 comments

Following test failure found:

[-] Describe Rename-Many (Internal) failed
 CommandNotFoundException: Could not find Command rename-FsItem

Tests completed in 3.34s
Tests Passed: 0, Failed: 1, Skipped: 0 NotRun: 222
BeforeAll \ AfterAll failed: 1
  - Rename-Many (Internal)

But this looks like a test that has been skipped. Perhaps, the Skip functionality has changed since 5.1.1

Looks like there are changes to mocking since 5.1.1. Also, the BeforeAll code block is being executed now regardless of whether there are any active tests in the correspnding block. Previously, a BeforeAll block would not be executed if the blocks tests were individually skipped, however it looks like this has now changed.