def test_loads_sum_steps():
 world.ran = False
 @before.each_step
 def assert_is_fine(step):
  world.ran = True
 runner = Runner(join(abspath(dirname(__file__)), 'simple_features', '2nd_feature_dir'), verbosity=0)
 runner.run()
 assert world.ran

def test_loads_sum_steps ( ) : world . ran = False @ before . each_step def assert_is_fine ( step ) : world . ran = True runner = Runner ( join ( abspath ( dirname ( __file__ ) ) , 'simple_features' , '2nd_feature_dir' ) , verbosity = 0 ) runner . run ( ) assert world . ran
can load step definitions from step_definitions folder .