BeforeAll class final
Marks a static method that runs once, before the class's context starts.
Use it to start what the application needs at startup, such as a fake
server whose URL a DynamicPropertySource method hands over. It must be
static, since no test class or bean exists yet. A returned Future is
awaited; several such methods run in the order of the class.
Spring (Java): JUnit's @BeforeAll.
Constructors
- BeforeAll()
-
Marks the method.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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