- All Superinterfaces:
net.serenitybdd.core.SkipNested
- All Known Subinterfaces:
Action,Interaction,Task
- All Known Implementing Classes:
AnonymousBackendTask,AnonymousInteraction,AnonymousPerformable,AnonymousPerformableFunction,AnonymousPerformableRunnable,AnonymousTask,CompositePerformable,ConditionalPerformable,ConditionalPerformableOnBoolean,ConditionalPerformableOnQuestion,Forget,RememberThat,RememberThat.WithQuestion,RememberThat.WithValue,SilentInteraction,SilentPerformable,SilentPerformableFunction,WaitOnQuestion,WaitOnSupplier,WaitWithTimeout
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A task or action that can be performed by an actor.
It is common to use builder methods to create instances of the Performable class, in order to make the tests read
more fluently. For example:
[source,java]
--
purchase().anApple().thatCosts(0).dollars()
--
-
Method Summary
Modifier and TypeMethodDescription<T extends Actor>
voidperformAs(T actor) default Performablethen(Performable nextPerformable)
-
Method Details
-
performAs
-
then
-