TestScenario<T> class
A wrapper class that encapsulates and validates a single test scenario.
This class associates a description with a specific variant of type T,
providing a structured way to handle individual test cases within a suite.
Constructors
- TestScenario({required String description, required T variant})
-
Creates a TestScenario with a
descriptionand a specificvariant.const
Properties
- description → String
-
A brief summary or label describing the test scenario.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- variant → T
-
The variant or configuration associated with this specific test scenario.
final
Methods
-
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