def test_microwave_with_steps_and_properties(self, microwave, property_statecharts): assert 0 == execute_bdd(microwave.statechart, [ os.path.join('docs', 'examples', 'microwave', 'cooking_human.feature') ], step_filepaths=[ os.path.join('docs', 'examples', 'microwave', 'steps.py') ], property_statecharts=property_statecharts)
def test_microwave_with_steps_and_properties(self, microwave, property_statecharts): features = ['cooking_human', 'lighting_human', 'safety_human'] assert 0 == execute_bdd(microwave.statechart, [ os.path.join('docs', 'examples', 'microwave', f + '.feature') for f in features ], step_filepaths=[ os.path.join('docs', 'examples', 'microwave', 'steps.py') ], property_statecharts=property_statecharts)
def test_microwave_with_properties(self, microwave, property_statecharts): assert 0 == execute_bdd( microwave.statechart, [os.path.join('docs', 'examples', 'microwave', 'heating.feature')], property_statecharts=property_statecharts)
def test_microwave(self, microwave): assert 0 == execute_bdd( microwave.statechart, [os.path.join('docs', 'examples', 'microwave', 'heating.feature')])
def test_elevator(elevator): assert 0 == execute_bdd( elevator.statechart, [os.path.join('docs', 'examples', 'elevator', 'elevator.feature')])