Executes a test script from within another script.
Any properly configured deltaTest script can be executed simply by calling it. Tests executed in this fashion will use shared configurations for the
-ProcessAgentPath parameters, possibly modified for the local system via the
Invoke-deltaTest is intended to cover these two use cases:
- You want to execute multiple test scripts with a single invocation.
- You wish to override shared or local settings for
-ProcessAgentPath, but only for the duration of a single test run.
Both of these use cases are common to DevOps scenarios, and will often be applied in deltaDeploy scripts.
Invoke-deltaTest ` -TestPath <string> ` [-NoInput <string>] ` [-ActiveEnvironment <string>] ` [-ProcessAgentPath <string>]
|*||The path to the test script to be invoked. Relative paths will be resolved relative to the script execution path.
|Overrides the global & local $NoInput setting for the scope of the test. Valid values:
|Overrides the global & local $ActiveEnvironment setting for the scope of the test. Valid values are set in the shared config file.
|Overrides the global & local $MedmProcessAgentPath setting for the scope of the test.