Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement request: Ability to specify working directory for Pester task #465

Closed
bergmeister opened this issue Mar 29, 2019 · 1 comment
Assignees
Labels

Comments

@bergmeister
Copy link

bergmeister commented Mar 29, 2019

Azure DevOps Extension you are using

richardfennellBM.BM-VSTS-PesterRunner-Task.Pester-Task.Pester@8 (public, unmodified version)

Where are you running it?

  • Azure DevOps Service

Version of Extension/Task

richardfennellBM.BM-VSTS-PesterRunner-Task.Pester-Task.Pester@8 (public, unmodified version)

Expected behaviour and actual behaviour

I have Pester tests that I need to pass path parameters to it. I use the hashtable syntax using the scriptFolder property to pass those. Because of this I have to pre-pend $(Build.SourcesDirectory\Path), which makes the parameters line very long in yaml.
It would be nice if there was a workingDirectory property that specified from which folder Invoke-Pester gets called.

cc @ChrisLGardner

@ChrisLGardner
Copy link
Collaborator

Tracking this over at pester/AzureDevOpsExtension#9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants