All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.serenitybdd.screenplay.Performable Maven / Gradle / Ivy

There is a newer version: 1.1.26-rc.1
Show newest version
package net.serenitybdd.screenplay;

import 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()
 * --
 *
 */
public interface Performable extends SkipNested {
     void performAs(T actor);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy