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

io.cucumber.guice.ScenarioScope Maven / Gradle / Ivy

There is a newer version: 7.20.1
Show newest version
package io.cucumber.guice;

import com.google.inject.Scope;
import org.apiguardian.api.API;

/**
 * A custom Guice scope that enables classes to be bound in a scope that will
 * last for the lifetime of one Cucumber scenario.
 */
@API(status = API.Status.STABLE)
public interface ScenarioScope extends Scope {

    void enterScope();

    void exitScope();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy