Skip to navigation
Agents

Testing

View as MarkdownOpen in Claude

The signalwire.testing module tests a call flow, such as a confirmation that spans several steps, without the platform or a model. swaig-test runs one tool call; CallSimulator runs a sequence of them through a simulated call and checks each one the way the platform does. RequestRecorder records real tool requests so you can run them against changed code.

from signalwire.testing import CallSimulator, RequestRecorder, SimulatedCall, ToolMentionError

Classes