Contextual<ContextualContext extends Context> class
abstract
Contextual is the base class for all Cake testing objects, such as Test, Group, and TestRunner.
- Implementers
Constructors
-
Contextual(String _title, {required FutureOr<
void> setup(ContextualContext test)?, required FutureOr<void> teardown(ContextualContext test)?, FutureOr<ContextualContext> contextBuilder()?, TestOptions? options, bool skip = false})
Properties
- contextualType → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
setup
→ FutureOr<
void> Function(ContextualContext test)? -
final
- skip → bool
-
final
-
teardown
→ FutureOr<
void> Function(ContextualContext test)? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
report(
FilterSettings filterSettings) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited