testing library

Portable managed test registration helpers.

Functions

defaultZukeDescription(ZukeScenarioContract scenario, String? caseId) String
Computes the canonical display description for a scenario test.
zukeTest(FutureOr body(), {required ZukeScenarioContract scenario, String? description, Iterable<String> evidenceTypes = const [], Set<ControlId> provedControls = const {}, Iterable<String> provedImplementationSlots = const [], String? caseId, String? testOn, Timeout? timeout, Object? skip, Object? tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Registers a normal Dart test that can publish evidence when launched by the Zuke CLI.
zukeUnit(FutureOr body(), {required ZukeScenarioContract scenario, String? description, Set<ControlId> provedControls = const {}, Iterable<String> provedImplementationSlots = const ['primary'], String? caseId, String? testOn, Timeout? timeout, Object? skip, Object? tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Registers a unit-oriented managed test with the stable Zuke defaults.