Repository navigation
Release v1.6.0
Scenarios can start from reusable given contexts, like the given classes of the C# specs.
Added
Cratis.Arc.Test.Given: a module that holds the facts several specs start from, named for the situation (a_registered_author), kept in agiven/folder beside the specs.given: [Context]onCommandScenarioandQueryScenarioapplies contexts before the spec's ownsetup_all;given/2applies a context (a module,{module, argument}or a function) in a pipeline, and contexts compose.setup: {module, function}prepares what a spec needs around the kernel (a fake started withstart_supervised!/1, application environment) before the contexts run, so what they append can already reach it.mix testignores thegiven/scripts throughtest_ignore_filters.