BddFramework class
Constructors
- BddFramework([BddFeature? feature])
Properties
-
codeRuns
→ List<
CodeRun?> -
final
-
codeTerms
→ Iterable<
BddCodeTerm> -
no setter
- feature → BddFeature?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
passed
↔ List<
bool> -
Nulls means the test was not run yet.
True means it passed.
False means it did not pass.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skip → BddFramework
-
Skips running this test.
no setter
- skipReal → BddFramework
-
Skips running this test in REAL mode (runs only in simulated mode).
no setter
-
terms
→ List<
_BaseTerm> -
final
-
textTerms
→ Iterable<
BddTerm> -
no setter
Methods
-
addCode(
CodeRun? code) → void -
allTerms<
T extends BddTerm> () → Iterable< T> -
Example:
List<Given> = bdd.allTerms<Given>().toList();
-
description(
) → String - The BDD description is its Scenario (or blank if there is no Scenario).
-
example(
) → BddExample? - A Bdd may have 0 or 1 examples.
-
exampleRow(
int? count) → Set< val> ? - The example, if it exists, may have any number of rows.
-
given(
String text) → BddGiven - This keyword starts a step that sets up the initial context of the scenario. It's used to describe the state of the world before you begin the behavior you're specifying in this scenario. For example, "Given I am logged into the website" sets the scene for the actions that follow.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
numberOfExamples(
) → int -
scenario(
String text) → BddScenario - The high-level description of a test case in Gherkin. It describes a particular functionality or feature of the system being tested.
-
tables(
) → List< BddTableTerm> - A Bdd may have 0, 1, or more tables (which are not examples).
-
timeout(
Duration? duration) → BddFramework -
timeoutSec(
int seconds) → BddFramework -
toMap(
BddConfig config) → List< String> -
toString(
{BddConfig config = BddConfig._default, bool withFeature = false}) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited