def test_two_scenario_outlines_more_tables(self): feature_paths = [f'/tests/two_scenario_outlines_more_tables.feature'] summary = run(user_flat_tag_expr="", user_feature_tag_expr="", user_scenario_tag_expr="", user_example_tag_expr="", feature_paths=feature_paths, parallel=1, log_level='TTRACE', html_report=True) self.verify_html_reporter(summary)
def test_verify_repeat_data_are_stored(self): feature_paths = [f'/tests/large_feature_with_everything.feature'] summary = run(user_flat_tag_expr="not @skipme", user_feature_tag_expr="", user_scenario_tag_expr="", user_example_tag_expr="", feature_paths=feature_paths, parallel=1, log_level='TTRACE', failed_repeat_count=5) # TODO verify more stuff for scenario in summary['failed_scenarios']: self.assertGreater(scenario.repeat_count, 0) for r in range(scenario.repeat_count): self.assertEqual(len(scenario.results[r]['failed_steps']), 1)