Skip to content

README.md additition #119

Description

@pvs043

When I run Invoke-DscResourceTest at clean environment, this error occured:

PS C:\> Invoke-DscResourceTest
Unable to find type [Pester.OutputTypes].
At C:\Program Files\WindowsPowerShell\Modules\DscResource.Test\0.16.0\DscResource.Test.psm1:1628 char:9
+         [Pester.OutputTypes]
+         ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Pester.OutputTypes:TypeName) [], RuntimeException
    + FullyQualifiedErrorId : TypeNotFound

Problem resolved by running this command before use Invoke-DscResourceTest:

PS C:> New-PesterConfiguration

Run          : Run configuration.
Filter       : Filter configuration
CodeCoverage : CodeCoverage configuration.
TestResult   : TestResult configuration.
Should       : Should configuration.
Debug        : Debug configuration for Pester. ⚠ Use at your own risk!
Output       : Output configuration
TestDrive    : TestDrive configuration.
TestRegistry : TestRegistry configuration.

PS C:\> Invoke-DscResourceTest
cmdlet Invoke-DscResourceTest at command pipeline position 1
Supply values for the following parameters:
ProjectPath:

Please, update documentation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationThe issue is related to documentation only.help wantedThe issue is up for grabs for anyone in the community.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions