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

cucumber.runtime.arquillian.container.CucumberContainerExtension Maven / Gradle / Ivy

There is a newer version: 1.6.7
Show newest version
package cucumber.runtime.arquillian.container;

import cucumber.runtime.arquillian.lifecycle.CucumberLifecycle;
import cucumber.runtime.arquillian.shared.EventHelper;
import cucumber.runtime.arquillian.shared.PersistenceExtensionIntegration;
import org.jboss.arquillian.container.test.spi.RemoteLoadableExtension;

public class CucumberContainerExtension implements RemoteLoadableExtension {
    @Override
    public void register(final ExtensionBuilder builder) {
        builder.observer(CucumberLifecycle.class)
                .observer(EventHelper.class);
        if (PersistenceExtensionIntegration.isOn()) {
            builder.observer(PersistenceExtensionIntegration.Observer.class);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy