iainbrighton / PScribo

PowerShell documentation framework
MIT License
231 stars 35 forks source link

Some tests fail due to braking changes in Pester 4.0.7 #65

Closed it-praktyk closed 6 years ago

it-praktyk commented 6 years ago
<OUTPUT_PARTIALLY_OMMITTED>

Executing script <FOLDER_PATH>\PScribo\Tests\Unit\Export-Document.Tests.ps1

  Describing Export-Document\Export-Document
    [-] calls single output formatter. 168ms
      RuntimeException: This command has been renamed to 'Assert-VerifiableMock' (without the 's' at the end), please update your code. For more information see: https://github.com/pester/Pester/wiki/Migrating-from-Pester-3-to-Pester-4
      at Assert-VerifiableMocks, <FOLDER_PATH>\Pester\Pester.psm1: line 1149
      at <ScriptBlock>, <FOLDER_PATH>\PScribo\Tests\Unit\Export-Document.Tests.ps1: line 15
    [-] calls multiple output formatters. 51ms
      RuntimeException: This command has been renamed to 'Assert-VerifiableMock' (without the 's' at the end), please update your code. For more information see: https://github.com/pester/Pester/wiki/Migrating-from-Pester-3-to-Pester-4
      at Assert-VerifiableMocks, <FOLDER_PATH>\Pester\Pester.psm1: line 1149
      at <ScriptBlock>, <FOLDER_PATH>\PScribo\Tests\Unit\Export-Document.Tests.ps1: line 22
    [-] calls single output formatter. 15ms
      RuntimeException: This command has been renamed to 'Assert-VerifiableMock' (without the 's' at the end), please update your code. For more information see: https://github.com/pester/Pester/wiki/Migrating-from-Pester-3-to-Pester-4
      at Assert-VerifiableMocks, <FOLDER_PATH>\Pester\Pester.psm1: line 1149
      at <ScriptBlock>, <FOLDER_PATH>\PScribo\Tests\Unit\Export-Document.Tests.ps1: line 48
    [-] calls multiple output formatters. 42ms
      RuntimeException: This command has been renamed to 'Assert-VerifiableMock' (without the 's' at the end), please update your code. For more information see: https://github.com/pester/Pester/wiki/Migrating-from-Pester-3-to-Pester-4
      at Assert-VerifiableMocks, <FOLDER_PATH>\Pester\Pester.psm1: line 1149
      at <ScriptBlock>, <FOLDER_PATH>\PScribo\Tests\Unit\Export-Document.Tests.ps1: line 55

<OUTPUT_PARTIALLY_OMMITTED>

Executing script <FOLDER_PATH>\PScribo\Tests\Unit\Section.Tests.ps1

  Describing Section\Section

    Context By named parameters
      [-] calls a nested element. 257ms
        RuntimeException: This command has been renamed to 'Assert-VerifiableMock' (without the 's' at the end), please update your code. For more information see: https://github.com/pester/Pester/wiki/Migrating-from-Pester-3-to-Pester-4
        at Assert-VerifiableMocks, <FOLDER_PATH>\Pester\Pester.psm1: line 1149
        at <ScriptBlock>, <FOLDER_PATH>\PScribo\Tests\Unit\Section.Tests.ps1: line 17

<OUTPUT_PARTIALLY_OMMITTED>