Skip to content

Passing arguments to pester when using Invoke-MTTest #19

@Kvoo

Description

@Kvoo

Is there any plan to extend Invoke-MTTest's functionality to allow passing arguments to pester?

One of the functions I want to test needs a PSCredential passed to it to work properly. If I want to test that using ModuleTools, I'd have to include the credentials as plain text in the .Test.ps1 file. Is there another way that I'm missing?

I'm also not quite clear on something else: Does Invoke-MTTest test the built .psm1 or the seperate .ps1 files in the src directory?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions