Fixture class abstract
Defines an abstract Fixture which will setup (before) and teardown
(after) required "fixtures" for testing.
Use one of the two fixture application functions to apply the fixture to the test lifecyle:
fixtureForEachto register before and after each testfixtureForAllto register before and after all tests in a group.
Your implementation should override the before and/or after methods to perform your desired setup and teardown operations.
- Implementers
Constructors
- Fixture()
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
after(
) → void - The lifecycle handler method for tearing down the fixture data.
-
before(
) → void - The lifecycle handler method for setting up the desired fixture data.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited