Salesforce CLI Setup
Required only for --validate and --push flags in squirex generate-tests.
Installโ
# 1. Install Salesforce CLI
npm install -g @salesforce/cli
# 2. Install Agentforce DX plugin
sf plugins install @salesforce/plugin-agent
# 3. Authenticate to your sandbox
sf org login web --alias my-sandbox --instance-url https://test.salesforce.com
# 4. Verify
sf org display --target-org my-sandbox
Verify Pluginโ
sf plugins list | grep agent
# @salesforce/plugin-agent 1.x.x
Usageโ
# Push generated tests to Testing Center
squirex generate-tests -d ./force-app --push --target-org my-sandbox