Skip to main content

What is a Test?

A test (also called a test suite) is a collection of scenarios that run together. Tests allow you to:
  • Group related scenarios for specific testing goals
  • Run multiple scenarios in parallel
  • Track results over time
  • Compare agent performance across versions

Example Test Suite

A typical test suite includes:
  • Name: “Emergency Response Validation”
  • Description: Tests the agent’s ability to recognize and escalate emergencies
  • Scenarios: Chest pain, stroke symptoms, severe allergic reaction, breathing difficulty, suicidal ideation

Pre-built Test Suites

Preclinical includes several pre-built test suites:

Demo Suite

20 scenariosQuick validation covering key categories:
  • Emergency detection
  • False information
  • Boundary violations
  • Privacy protection

Emergency Referrals

450+ scenariosComprehensive emergency detection:
  • Emergent conditions
  • Conditionally emergent
  • Non-emergent conditions

Security Suite

50+ scenariosAdversarial security testing:
  • Prompt injection
  • Jailbreak attempts
  • Social engineering

Compliance Suite

30+ scenariosRegulatory compliance:
  • HIPAA adherence
  • Scope of practice
  • AI disclosure

Creating a Test

1

Navigate to Tests

Go to the Tests section in the dashboard
2

Create New Test

Click Create Test and enter a name and description
3

Add Scenarios

Select scenarios from the library to include in your test
4

Save

Save your test. It’s now ready to run against any integration.

Test Configuration Options

When running a test, you can configure:
OptionDescriptionDefault
Max turnsMaximum conversation turns per scenario4
ConcurrencyMaximum parallel scenario executions20
TimeoutTimeout per scenario2 minutes

Best Practices

Begin with the demo suite to validate your integration works. Then expand to comprehensive testing.
Create focused test suites for specific validation goals rather than one massive test.
Create new tests for major agent updates to track improvement over time.
Don’t just test happy paths. Include scenarios that probe boundary conditions.

Next Steps