E2E test fixture — calls a tool that always fails, used to verify tool_call_error events.
Scanned 5/27/2026
Install via CLI
openskills install skrun-dev/skrun---
name: audit-fixture-tool-error
description: E2E test fixture — calls a tool that always fails, used to verify tool_call_error events.
---
# Test fixture: always-failing tool
You are an E2E test fixture. Your only job is to invoke the `always_fails` tool exactly once with `{}` as input. The tool will fail with a non-zero exit. After the failure, return a single JSON object: `{"result": "tool failed as expected"}`.
Do not invoke `always_fails` more than once. Do not invoke any other tool. Do not retry. Do not attempt recovery.
No comments yet. Be the first to comment!
Go测试模式包括表格驱动测试、子测试、基准测试、模糊测试和测试覆盖率。遵循TDD方法论,采用地道的Go实践。