moonrockz/moonspec/runner does not have a README file
impl Show for TagExpressionErrorimpl MessageSink for CollectorSinkpub struct FeatureCache {
// private fields
}fn FeatureCache::load_from_source(self : FeatureCache, source : FeatureSource) -> Array[ParseErrorInfo]pub(all) struct FeatureResult {
name : String
scenarios : Array[ScenarioResult]
duration_ms : Int64
} derive(Debug)pub(all) struct IdGenerator {
// private fields
}pub(all) struct RunOptions {
// private fields
}let opts = RunOptions::new(features)
opts.dry_run(true) // validate step wiring without executionlet opts = RunOptions::new(features)
opts.retries(2) // retry failed scenarios up to 2 timeslet opts = RunOptions::new(features)
opts.skip_tags(["@skip", "@ignore", "@wip"])pub(all) struct RunResult {
features : Array[FeatureResult]
summary : RunSummary
parse_errors : Array[ParseErrorInfo]
} derive(Debug)pub(all) struct ScenarioResult {
feature_name : String
scenario_name : String
pickle_id : String
tags : Array[String]
steps : Array[StepResult]
status : ScenarioStatus
duration_ms : Int64
} derive(Debug)pub(all) struct StepResult {
text : String
keyword : String
status : StepStatus
duration_ms : Int64
diagnostic : Error?
} derive(Debug)pub(all) enum TagExpression {
TagLiteral(String)
Not(TagExpression)
And(TagExpression, TagExpression)
Or(TagExpression, TagExpression)
Always
} derive(Eq, Debug)fn build_test_cases(registry : StepRegistry, hook_registry : HookRegistry, pickles : Array[Pickle], id_gen : IdGenerator) -> Array[Envelope]fn execute_scenario(registry : StepRegistry, feature_name~ : String, scenario_name~ : String, pickle_id~ : String, tags~ : Array[String], steps~ : Array[PickleStep], hook_registry? : HookRegistry, sinks? : Array[&MessageSink], test_case_started_id? : String, test_step_ids? : Array[String], dry_run? : Bool) -> ScenarioResultInstall
Download zipBDD test framework for MoonBit with Gherkin and Cucumber Expressions