(self, tests_mapping)
run testcase/testsuite data
run testcase/testsuite data
run testcase / testsuite data
def run_tests(self, tests_mapping):
        """ run testcase/testsuite data
        """
        if self.save_tests:
            utils.dump_tests(tests_mapping, "loaded")

        # parse tests
        self.exception_stage = "parse tests"
        parsed_tests_mapping = parser.parse_tests(tests_mapping)

        if self.save_tests:
            utils.dump_tests(parsed_tests_mapping, "parsed")

        # add tests to test suite
        self.exception_stage = "add tests to test suite"
        test_suite = self._add_tests(parsed_tests_mapping)

        # run test suite
        self.exception_stage = "run test suite"
        results = self._run_suite(test_suite)

        # aggregate results
        self.exception_stage = "aggregate results"
        self._summary = self._aggregate(results)

        # generate html report
        self.exception_stage = "generate html report"
        report.stringify_summary(self._summary)

        if self.save_tests:
            utils.dump_summary(self._summary, tests_mapping["project_mapping"])
def run_tests ( self , tests_mapping ) : if self . save_tests : utils . dump_tests ( tests_mapping , "loaded" ) # parse tests self . exception_stage = "parse tests" parsed_tests_mapping = parser . parse_tests ( tests_mapping ) if self . save_tests : utils . dump_tests ( parsed_tests_mapping , "parsed" ) # add tests to test suite self . exception_stage = "add tests to test suite" test_suite = self . _add_tests ( parsed_tests_mapping ) # run test suite self . exception_stage = "run test suite" results = self . _run_suite ( test_suite ) # aggregate results self . exception_stage = "aggregate results" self . _summary = self . _aggregate ( results ) # generate html report self . exception_stage = "generate html report" report . stringify_summary ( self . _summary ) if self . save_tests : utils . dump_summary ( self . _summary , tests_mapping [ "project_mapping" ] )