← Back to browse
skill
testing core agent error handling and retries
From mastra-ai/mastra ★ 24,025
Summary
This guide details patterns for writing robust integration tests for error processors, focusing on mocking LLM API calls to simulate failures and verify retry logic. It covers best practices for asserting successful retries, error propagation, and selective error handling.