You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have pester tests that need parameters passed at runtime in order to execute the tests.
An example would be:
param($deviceName, $artifactDirectory, $CustomTarget)
BeforeAll {
...setup tests
}
Describe "These are my tests" {
It "blah" {
...
}
}
I have a CI environment where I have to run a powershell script which uses a New-PesterContainer and passes arguments via the -Data parameter. But I don't see anyway to configure this in the Pester Test explorer.
The text was updated successfully, but these errors were encountered:
I'm not sure how this would even work. Would you want a popup for each parameter? A psd1 to supply your pester config? All of which have a lot of security issues.
I have pester tests that need parameters passed at runtime in order to execute the tests.
An example would be:
I have a CI environment where I have to run a powershell script which uses a
New-PesterContainer
and passes arguments via the-Data
parameter. But I don't see anyway to configure this in the Pester Test explorer.The text was updated successfully, but these errors were encountered: