Lines Matching refs:test
146 for test in tests:
147 test_name = test['test_name']
148 covered_files = test['covered_files']
149 json_results = generate_coverage_json(test)
230 def generate_coverage_html(test): argument
233 test_name = test['test_name']
234 file_list = test['covered_files']
260 logging.info('Generating coverage report for ' + test['test_name'])
263 logging.error('Failed to generate coverage for ' + test['test_name'])
267 def generate_coverage_json(test): argument
269 test_name = test['test_name']
270 file_list = test['covered_files']
291 logging.info('Generating coverage json for ' + test['test_name'])
298 def write_json_summary(test): argument
299 test_name = test['test_name']
304 json.dump(generate_coverage_json(test), json_file)
309 for test in COVERAGE_TESTS:
310 print "Test Name: " + test['test_name']
312 for covered_file in test['covered_files']:
382 for test in COVERAGE_TESTS:
383 if args.all or test['test_name'] in args.tests:
384 tests_to_run.append(test)
385 if test['test_name'] in args.tests:
386 args.tests.remove(test['test_name'])
395 for test in tests_to_run:
396 logging.info('Getting coverage for ' + test['test_name'])
397 get_profraw_for_test(test['test_name'])
398 merge_profraw_data(test['test_name'])
400 write_json_summary(test)
401 generate_coverage_html(test)