Skip to main content

Testing Center

Explore practical guides and implementation patterns for this topic.

Posts

Agentforce

Agent Testing Strategy: How to Measure and Eliminate the AI Noise Floor

💬 In plain words: Because Large Language Models (LLMs) generate probabilistic output, your test suite scores will bounce around slightly even if you haven't touched a single line of code. To find your noise floor , run your exact same test suite three times without making any changes. The mathematical spread between those three scores is your normal variance. If a score change happens inside that spread, it means nothing. ⚡ Key Points AI test scores vary naturally; a drop in your score is not always a bug. Without measuring your baseline variance (the noise floor), your test scores are uninterpretable. Your Continuous Integration (CI) gate threshold must be set just outside the observed spread. Always re-measure your noise floor when you add a significant chunk of new test cases to your suite.
Read article
Agentforce

The Ultimate Guide to Agentforce Testing Center & Custom Evaluations

💬 In plain words: Testing Center is your dedicated AI validation hub. Located directly inside Agentforce Studio (right next to Agent Builder and Observability), it replaces manual trial-and-error testing. It can automatically generate test cases, simulate full multi-turn conversations using different user personas, and mathematically score the results against rules you define. ⚡ Key Points Location: Testing Center is a native, dedicated tab in Agentforce Studio, completely removed from traditional Salesforce Setup. Expected vs. Actual: Every test case requires you to define an expected subagent and an expected action, allowing for direct comparison. Scale with AI: Instead of writing hundreds of tests by hand, use AI-generated cases to instantly build synthetic interactions. Custom Evaluations: Score your agents using strict deterministic rules (Strings/Numbers) or an LLM-as-a-Judge. Cost Awareness: Running these automated test suites c...
Read article
Agentforce

Agent Testing Strategy: Statistical Evaluation vs Traditional Testing

⚡ 1-Minute Summary Agent testing is statistical, not pass/fail. Never assert on exact wording. Assert on which subagent handled the request, which action ran, the decided value, and whether it correctly refused. Measure your noise floor : run the same suite three times unchanged and record the variance.
Read article