bdd_framework 5.0.0
bdd_framework: ^5.0.0 copied to clipboard
BDD framework for Dart/Flutter. Lets you create BDD tests in code, and gives you easy to read error messages when assertions fail. Exports to Gherkin/Cucumber feature files.
Sponsored by MyText.ai
5.0.0 #
-
If you want to use Patrol, see the new bdd_framework_patrol package. Its code was contributed by Kahoulam.
-
Breaking:
.run()and.code()are now extension methods that come from a runner import:package:bdd_framework/bdd_framework.dartorflutter_test.dart(Flutter tests),flutter_widget_test.dart(widget tests with aWidgetTester), ordart_test.dart(pure Dart tests). If you importbdd_framework.dartwith ashowclause, also showFlutterTestRunandFlutterTestCode. -
Fix pure Dart BDD tests reporting success to
package:testafter a failed assertion or exception. Synchronous and asynchronous failures now fail the underlying test and return a failing test-process exit code. -
Restore custom-formatting and feature-collection regression coverage, and test execution of scenarios starting directly with When or Then.
-
New
package:bdd_framework/core.dartexposes the runner-agnostic API (no.run()extension) for runners in other packages.
4.0.7 #
- Version bump of dependencies
3.0.2 #
-
Compatible with Flutter 3.13.9 version.
-
Internal frames are not shown in the error stack-traces. This simplifies the reported stack-traces by removing lines which are not from your application code.
2.0.1 #
- Documentation, BDD tutorial and example app.
1.0.0 #
- Initial version.
