W-20148320: update readme #95
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Updates the README to document which environment variables are required and when they cause initialization errors. This improves developer experience by clearly indicating which environment variables must be set for different test scenarios.
Changes
Required Environment Variables
The following environment variables are now clearly marked as required:
Conditionally Required (Yes*)
VSIX_TO_INSTALL- Required wheninstallExtensions()is calledUSE_EXISTING_PROJECT_PATH- Required when set (path must exist)TEST_RESOURCES- Required whenvalidateTestConfig()is called and neithertestResourcesnorworkspacePathis setRequired for Org Authorization (Yes**)
DEV_HUB_USER_NAME- Required when org authorization is neededDEV_HUB_ALIAS_NAME- Required when org authorization is needed (has default but must match existing org)SFDX_AUTH_URL- Required when authenticating with Salesforce (when no existing auth found)Impact
This documentation update helps developers:
Related