def run_test(self, runs):
        """Run tests and build up statistics.

        :param runs: number of tests to run.
        """
        self.logger.info('Start fuzzing ...')
        for _ in range(runs):
            app = random.choice(self.apps)
            data_file = random.choice(self.file_list)
            fuzzed_file = self._fuzz_data_file(data_file)
            self._execute(app, fuzzed_file)
        self.logger.info('Fuzzing completed.')
def run_test ( self , runs ) : self . logger . info ( 'Start fuzzing ...' ) for _ in range ( runs ) : app = random . choice ( self . apps ) data_file = random . choice ( self . file_list ) fuzzed_file = self . _fuzz_data_file ( data_file ) self . _execute ( app , fuzzed_file ) self . logger . info ( 'Fuzzing completed.' )
Run tests and build up statistics.

        :param runs: number of tests to run.