bdd_framework_patrol 1.0.1
bdd_framework_patrol: ^1.0.1 copied to clipboard
Patrol integration for bdd_framework. Lets you write BDD scenarios that run as Patrol integration tests, with access to the PatrolIntegrationTester in every step.
1.0.1 #
-
An error Flutter reports without throwing it, like a layout overflow when
BddPatrol.ignoreOverflowisfalse, now fails the step where it happens. Previously the BDD printedTEST PASSED!and Flutter failed the test only afterwards. The steps after it don't run, and the error is shown with its original details. An error the test takes itself with$.tester.takeException()doesn't fail the step. -
Bdd(feature).only(frombdd_framework5.1.0) is not supported with Patrol, because it would also skip the test Patrol uses to discover the other tests. A test marked with.onlynow prints a warning and runs normally. -
Requires
bdd_framework5.1.0.
1.0.0 #
- Initial version. The Patrol runner was moved here from
bdd_framework(package:bdd_framework/patrol_test.dart), so thatbdd_frameworkitself no longer depends on Patrol. Importpackage:bdd_framework_patrol/bdd_framework_patrol.dartinstead.