Receives test lifecycle events from the runner to produce output.