Package org.jbehave.core.util

Examples of org.jbehave.core.util.CamelCaseConverter


        this.out = out;
    }
       
    public void renderStory(Story story) {
        previousComponent = null;
        out.println("Story: " + new CamelCaseConverter(story).toPhrase());
        out.println();
    }
View Full Code Here


        return new HashMapWorld();
    }

    private ScenarioResult runScenario(World world, Class storyClass, Scenario scenario) {
        ScenarioResult result;
        String storyDescription = new CamelCaseConverter(storyClass).toPhrase();
        String description = new CamelCaseConverter(scenario).toPhrase();
       
        try {               
            scenario.run(world);
            result = new ScenarioResult(description, storyDescription,
                    scenario.containsMocks() ? ScenarioResult.USED_MOCKS : ScenarioResult.SUCCEEDED);
View Full Code Here

TOP

Related Classes of org.jbehave.core.util.CamelCaseConverter

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.