agentforce-test - Test Agentforce agents with functional and security suites
Write, run, and analyze Agentforce agent tests, including smoke tests, batch suites, trace analysis, action execution, and OWASP LLM security testing.
Tags
Updated: 2026-12-02Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Derive test cases
- Run preview smoke tests
- Deploy batch test suites
- Analyze execution traces
- Execute Flow and Apex actions
- Assess OWASP LLM risks
- Grade adversarial test results
Inputs
- Agent .agent files
- Test specification YAML
- Salesforce project directory
- Target org alias
- User confirmation for security cases
- Test utterances
Outputs
- Test plans
- Test results
- Trace files
- Deployed test suites
- Flow or Apex action responses
- Security grades
- Vulnerability assessment findings
Requirements
- Salesforce CLI sf >=2.121.7
- curl >=7.0.0
- jq >=1.6.0
- Python 3 >=3.10.0
- Authenticated Salesforce org
- Salesforce project with sfdx-project.json
- Bash or PowerShell access
- File read and write access
