DartTestCode<T> extension
Extension to attach Dart-specific executable closures (code blocks) to BDD terms.
By importing bdd_dart.dart, these extensions become available on steps like
BddGiven, BddWhen, and BddThen, allowing you to define the logic for each step.
- on
-
- BddCodeable<
T>
- BddCodeable<
Methods
-
code(
CodeRun codeRun) → T -
Available on BddCodeable<
Attaches a code block that executes within a pure Dart BddContext.T> , provided by the DartTestCode extension