Class DeviceCoverageCollector
Coverage of a device protocol: every message kind the suite asserted counts as covered, and every kind a registered IProtoDeviceProtocol declares but no test asserted is reported as a gap - the OpenAPI treatment for a device protocol.
public sealed class DeviceCoverageCollector : ProtoCoverageCollector, IProtoCollector, IProtoReportSource
- Inheritance
-
DeviceCoverageCollector
- Implements
- Inherited Members
- Extension Methods
Constructors
DeviceCoverageCollector(string)
Creates the collector for a target, accepting every observation kind it sees.
public DeviceCoverageCollector(string targetName = "Devices")
Parameters
targetNamestring
DeviceCoverageCollector(string, IEnumerable<IProtoDeviceProtocol>?)
Creates the collector with the protocol catalogs whose untested message kinds it reports.
public DeviceCoverageCollector(string targetName, IEnumerable<IProtoDeviceProtocol>? protocols)
Parameters
targetNamestringprotocolsIEnumerable<IProtoDeviceProtocol>
Properties
Category
public override string Category { get; }
Property Value
Methods
GetReportItems()
public override IEnumerable<ProtoReportItem> GetReportItems()