global

def self.from_execution_with_output(actual_result, stdout_content, stderr_content, execution_time_ns = nil)

Used by: output evaluator for stdout/stderr expectations
Helper to create a packet with captured output data
def self.from_execution_with_output(actual_result, stdout_content, stderr_content, execution_time_ns = nil)
  new(
    actual_result: actual_result,
    execution_time_ns: execution_time_ns,
    start_time_ns: nil,
    end_time_ns: nil,
    stdout_content: stdout_content,
    stderr_content: stderr_content
  )
end