TestFailureDiagnostician (object v0.1.2)
DSPy-powered comprehensive test failure analysis and diagnosis system. Uses GPT-4.1-mini through DSPy signatures to analyze and provide solutions for test failures.
Summary
Functions
Runs comprehensive analysis on all test failures from a test run.
Analyzes a test failure and provides comprehensive diagnosis and solutions.
Returns a specification to start this module under a supervisor.
Gets diagnostic statistics and performance metrics.
Callback implementation for GenServer.init/1
.
Functions
Runs comprehensive analysis on all test failures from a test run.
Parameters
test_output
: Complete test output with all failures
Returns
{:ok, comprehensive_analysis}
with categorized failures and solutions
Analyzes a test failure and provides comprehensive diagnosis and solutions.
Parameters
test_name
: Name of the failing testerror_output
: Complete error output from the testcontext
: Additional context (file paths, line numbers, etc.)
Returns
{:ok, analysis}
with detailed diagnosis and solutions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Gets diagnostic statistics and performance metrics.
Callback implementation for GenServer.init/1
.