def test(self): print "---- TESTING PROGRAM ----" runner = TestRunner(self.context) runner.run() self.context.tests_failed = runner.error_count self.context.tests_run = runner.test_count self.context.tests_passed = runner.success_count
def test(self): """Run tests. """ test_runner = TestRunner(self.__build_targets, self.__options, self.__target_database, self.__direct_targets) return test_runner.run()
def test(self): """Run tests. """ test_runner = TestRunner(self.all_targets_expanded, self.options, self.prebuilt_cc_library_file_map, self.target_database) return test_runner.run()
def _run_test(self, test_cases, report): """ Run the test suites and return the report """ if self._args.verbose: verbosity = TestRunner.VERBOSITY_VERBOSE elif self._args.quiet: verbosity = TestRunner.VERBOSITY_QUIET else: verbosity = TestRunner.VERBOSITY_NORMAL runner = TestRunner(report, verbosity=verbosity, num_threads=self._args.num_threads, fail_fast=self._args.fail_fast, dont_catch_exceptions=self._args.dont_catch_exceptions, no_color=self._args.no_color) runner.run(test_cases)