EliziumNet / RexFs

Regular expression based Bulk File/Directory renamer
MIT License
4 stars 2 forks source link

Test failure after upgrading to Pester 5.3.0-beta #25

Closed plastikfan closed 3 years ago

plastikfan commented 3 years ago

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

plastikfan commented 3 years ago

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.