struct

Mrcv::Core::ExecutionResult

Inherits Struct < Value < Object

Represents the empirical outcome of testing a project target against a specific Crystal version.

Constructors

new(version : Version, mode : ExecutionMode, success : Bool, exit_code : Int32, stdout : String, stderr : String, duration_ms : Int64, error_kind : ErrorKind | Nil = nil)
Source

Instance methods

duration

Returns duration as a Time::Span object.

Source
duration_ms
Source
environment_error?

Returns true if failure is attributed to environmental defects (missing C header/lib).

Source
error_kind
Source
exit_code
Source
failed?

Returns true if execution failed.

Source
language_error?

Returns true if failure is attributed to Crystal language/compiler compatibility.

Source
mode
Source
passed?

Returns true if execution completed with zero exit code and success status.

Source
stderr
Source
stdout
Source
success?
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source
version
Source