def test_case(self, status, number, description, directive):
        if status:
            self.result['passed'] += 1
            status_message = 'PASS'
        elif directive['type'] == 'TODO':
            self.result['todo'] += 1
            status_message = 'TODO'
        elif directive['type'] == 'SKIP':
            self.result['skipped'] += 1
            status_message = 'SKIP'
        else:
            self.result['failed'] += 1
            status_message = 'FAIL'

        self.logger.debug(' ||- subprocess reported test case #%d result: %s' % (number, status_message))
        self.result['executed'] += 1

        self.result['message'] += '[{status}] {description}\n'.format(
            status=status_message,
            number=number,
            description=description
        )

        self.update_status()
        self.update_panel()
dataset/ETHPy150Open accerqueira/sublime-test-runner/TestRunner.py/TestRunnerWorker.test_case/original