def extasy_console(stories_dir, steps_dir, output, colored=False, settings = None): modules = extasy_find_steps_modules(steps_dir) extasy.settings.setValues( settings ) extasy.selenium.getDriver().start_test() for spec in find_text_specs(stories_dir): StoryRunner(spec, output, colored=colored, modules=modules).run() extasy.selenium.getDriver().stop_test()
def pycukes_console(stories_dir, steps_dir, output, colored=False): modules = find_steps_modules(steps_dir) for spec in find_text_specs(stories_dir): StoryRunner(spec, output, colored=colored, modules=modules).run()