This release includes a minor alteration of v2.0.0 installer. Its purpose is to reduce the deltaTest security footprint.
Previously, the installer demanded a global change to the local machine's ExecutionPolicy permitting the user to run unrestricted scripts. This was a big hammer, but seemed necessary to prevent script errors when running test scripts from the File Explorer shell.
What we discovered was that File Explorer performs a silent ExecutionPolicy elevation every time you select the "Run with PowerShell" option. If we eliminate that ONE time, then there is no need to elevate ExecutionPolicy globally.
v2.0.1 makes a single registry change: it eliminates automatic ExecutionPolicy elevation on "Run with PowerShell" invocation. This happens when the installer runs, which requires local admin privileges anyway. The net effect is to render the user's environment MORE secure, not less, so most enterprise admins should be comfortable with the change.
For those who wish to dig into the code and validate this for themselves, the relevant line is here.
Installation & Upgrade
The source for this release is at tag v2.0.1. For new installations, simply follow these instructions to get started.
To upgrade from any lower version, follow these steps:
- Open a Git BASH prompt from your shared deltaTest repo clone.
- Run command
git checkout v2.0.1
- Refactor your existing tests to match the tests in the STARTER TEST REPO.