- All Superinterfaces:
- net.serenitybdd.core.SkipNested
- All Known Subinterfaces:
- Action, Interaction, Task
- All Known Implementing Classes:
- AnonymousInteraction, AnonymousPerformable, AnonymousTask, ConditionalPerformable, ConditionalPerformableOnBoolean, ConditionalPerformableOnQuestion, SilentPerformable
public interface Performable
extends net.serenitybdd.core.SkipNested
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()
--