Example #1
0
def check_coverage_report(step, format):
    runner = world.scenario["runner"]
    world.compare_files_at_paths(
        coverage_path(runner, format, actual=False),
        coverage_path(runner, format, actual=True),
    )
Example #2
0
def then_an_xunit_report_is_generated(step):
    world.assert_file_exists('xunit.xml')
    world.compare_files_at_paths(
        'xunit.xml', 'expected/jasmine_xunit.xml'
    )