struct

Mica::Testing::Traceability::Coverage

Inherits Struct < Value < Object

The coverage of a catalog by the recorded specs.

Constructors

new(covered : Hash(String, Array(String)), list_of_uncovered_ids : Array(String), unknown : Hash(String, Array(String)))
Source

Instance methods

clone
Source
copy_with(covered _covered = @covered, list_of_uncovered_ids _list_of_uncovered_ids = @list_of_uncovered_ids, unknown _unknown = @unknown)
Source
covered
list_of_uncovered_ids
ratio

Returns the share of catalog requirements covered, from 0.0 to 1.0.

Source
unknown