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
Sometimes creating test resources requires either some work to be done prior to or after the main test-resources.json script is executed.
83
+
For these scenarios a `test-resources-pre.ps1` or `test-resources-post.ps1`, respectively, can be created in the same folder as the `test-resources.json` file.
84
+
85
+
For example, it may be necessary to create artifacts prior to provisioning the actual resource, such as a certificate.
86
+
Typically the created artifact will need to be passed to `test-resources.json` to be used in the ARM template or as output (or both).
87
+
88
+
Below is an example of how `$templateFileParameters` can be used to pass data from the `pre-` script to `test-resources.json`.
0 commit comments