@classmethod
    def describe_step(cls, step):
        status = _text(step.status)
        if cls.show_timings:
            status += u" in %0.3fs" % step.duration
        text = u'%s %s ... ' % (step.keyword, step.name)
        text += u'%s\n' % status
        if cls.show_multiline:
            prefix = make_indentation(2)
            if step.text:
                text += ModelDescriptor.describe_docstring(step.text, prefix)
            elif step.table:
                text += ModelDescriptor.describe_table(step.table, prefix)
        return text
dataset/ETHPy150Open behave/behave/behave/reporter/junit.py/JUnitReporter.describe_step/original