Package org.jbehave.core.steps.pico

Examples of org.jbehave.core.steps.pico.PicoStepsFactory


    }

    @Override
    public InjectableStepsFactory stepsFactory() {
        PicoContainer container = createPicoContainer();
        return new PicoStepsFactory(configuration(), container);
    }
View Full Code Here


*/
public class CoreStoriesUsingPico extends CoreStories {

    @Override
    public InjectableStepsFactory stepsFactory() {
        return new PicoStepsFactory(configuration(), createPicoContainer());
    }
View Full Code Here

    @Override
    public InjectableStepsFactory buildStepsFactory(Configuration configuration) {
        InjectableStepsFactory factoryUsingSteps = super.buildStepsFactory(configuration);
        if (container != null) {
            return new CompositeStepsFactory(new PicoStepsFactory(configuration, container), factoryUsingSteps);
        }
        return factoryUsingSteps;
    }
View Full Code Here

        steps.addComponent(new PerStoryWebDriverSteps(driverProvider));
        steps.addComponent(new WebDriverScreenshotOnFailure(driverProvider, configuration.storyReporterBuilder()));
        // steps.addComponent(new WebDriverPageDumpOnFailure(driverProvider,
        // configuration.storyReporterBuilder()));
        steps.addComponent(new PerStoriesContextView(contextView));
        useStepsFactory(new PicoStepsFactory(configuration, steps));

    }
View Full Code Here

TOP

Related Classes of org.jbehave.core.steps.pico.PicoStepsFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.