DartTestRun extension

Extension providing the standard .run() method for pure Dart BDD tests.

Use this entry point when you are writing tests for logic that does not depend on Flutter. It wraps the execution within the standard package:test library's test() function.

on

Methods

run([CodeRun? testCallback]) → void

Available on BddRunnable, provided by the DartTestRun extension

Executes the BDD scenario as a standard Dart unit test.