run_unit_test
Run targeted unit tests for a specific agent on Log Analyzer MCP, optimizing test execution by focusing on agent-specific patterns and health checks. Returns detailed test results and analysis.
Instructions
Run tests for a specific agent only.
This tool runs tests that match the agent's patterns including both main agent tests
and healthcheck tests, significantly reducing test execution time compared to running all tests.
Use this tool when you need to focus on testing a specific agent component.
Args:
agent: The agent to run tests for (e.g., 'qa_agent', 'backlog_agent')
verbosity: Verbosity level (0=minimal, 1=normal, 2=detailed), default is 1
Returns:
Dictionary containing test results and analysis
Input Schema
Name | Required | Description | Default |
---|---|---|---|
agent | Yes | ||
verbosity | No |
Input Schema (JSON Schema)
{
"properties": {
"agent": {
"title": "Agent",
"type": "string"
},
"verbosity": {
"default": 1,
"title": "Verbosity",
"type": "integer"
}
},
"required": [
"agent"
],
"title": "run_unit_testArguments",
"type": "object"
}