struct

Cordon::ProbeResult

Inherits Struct < Value < Object

Outcome of one enforcement probe run by Runner#confirm.

A probe is a real, spawned attempt to do something the sandbox should either allow or deny — not a static check. passed means the probe's expected outcome (allowed or denied) actually happened.

Constructors

from_result(name : String, description : String, result : Result, expect_success : Bool) : ProbeResult
Source
new(name : String, description : String, passed : Bool, skipped : Bool, skip_reason : String | Nil, stdout : String, stderr : String, exit_code : Int32 | Nil)
Source
skip(name : String, description : String, reason : String) : ProbeResult
Source

Instance methods

description
Source
exit_code
Source
name
Source
passed?
Source
skip_reason
Source
skipped?
Source
stderr
Source
stdout
Source