
agentforce-test
Write, run, and analyze structured test suites for Agentforce agents
by forcedotcomFree
Description
agentforce-test is a Salesforce agent skill for writing, running and analyzing structured test suites for Agentforce agents, covering both function and security. It derives test utterances from an agent's subagents, runs preview-based smoke tests and batch runs, analyzes traces, and runs an iterative loop to fix issues it finds. Security testing follows the OWASP LLM Top 10 and is treated as part of the same suite as functional tests, though generating security test cases needs explicit user confirmation. It is meant to bridge initial development and production deployment. Examples use bash, with Windows PowerShell notes. It comes from the forcedotcom/sf-skills repository.…
Highlights
- Generates test utterances from agent subagents
- Smoke tests via preview and batch runs
- Trace analysis and iterative fix loop
- Security tests based on OWASP LLM Top 10
- Works with test spec YAML files
Ratings & Reviews
No ratings yet
Be the first to rate agentforce-test.
People also visit

sf-ai-agentforce-testing
Agentforce agent testing with dual-track workflow and 100-point scoring

agentforce-architecture-analyze
Declared architecture snapshot for one Agentforce agent: planner, topics

developing-agentforce
Build, modify, debug, and deploy agents with Agentforce Agent Script

service-itsm-agentic-setup-agentforce-studio-validate
Validate the Agentforce for IT Service prerequisites
agentforce-test FAQ
What kinds of tests does it cover?
Functional tests (right topic, right action) and security tests based on the OWASP LLM Top 10, in one test suite.
What is the install command?
Install it with the skills CLI: `npx skills add https://github.com/forcedotcom/sf-skills --skill agentforce-test`.
Does it create security tests automatically?
Only after explicit user confirmation. Security test-case generation is gated behind a confirmation step.
What does the fix loop do?
After tests and trace analysis identify issues, the skill iterates on fixes and re-tests the agent.
What are the security audit results?
The skills.sh page lists these results: Gen Agent Trust Hub: Pass, Socket: Warn, Snyk: Warn.
What are the best agentforce-test alternatives?
Popular alternatives to agentforce-test include testing-agentforce, sf-ai-agentforce-testing and agentforce-observe. See all agentforce-test alternatives





