{{ testRecord.name }}

State:

Enabled {% if testRecord.enabledState == "enabled_by_user" -%} by user {%- elif testRecord.enabledState == "enabled_in_consequence" -%} automatic {%- else -%} disabled {%- endif %}
Result {{ testRecord.processingState }}
Duration {{ "%.3f"|format(testRecord.duration * 1000) }} ms
Description {% if testRecord.description %}{{ testRecord.description }}{% endif %}

Log:

{% macro writeLogTimeStamp(timeStamp) -%} {{- "%04d-%02d-%02d %02d:%02d:%02d %03d%03d"|format( timeStamp.year, timeStamp.month, timeStamp.day, timeStamp.hour, timeStamp.minute, timeStamp.second, timeStamp.ms, timeStamp.us ) -}} {%- endmacro %} {% macro writeLogLevel(logLevel) -%} {{- logLevel -}} {%- endmacro %} {% macro writeLogException(exceptionClassName) -%} {{- exceptionClassName -}} {%- endmacro %} {% macro writeLogText(logText) -%} {{- logText -}} {%- endmacro %} {% macro writeStackElement(stackElement) -%}
  • {{ stackElement.file }}:{{ stackElement.line }} : {{ stackElement.sourcecode }}
  • {%- endmacro %} {% macro writeLogEntry(logEntry) -%}
  • {% if logEntry.type == "txt" %} {{ writeLogTimeStamp(logEntry.timestamp) }} {{ writeLogLevel(logEntry.loglevel) }} : {{ writeLogText(logEntry.text) }} {% elif logEntry.type == "ex" %} {{ writeLogTimeStamp(logEntry.timestamp) }} {{ writeLogLevel(logEntry.loglevel) }} : {{ writeLogException(logEntry.exception) }} {% else %} {{ writeLogTimeStamp(logEntry.timestamp) }} {{ writeLogLevel(logEntry.loglevel) }} : {{ writeLogText(logEntry.text) }} {% for subLogEntry in logEntry.children %} {% endfor %} {% endif %}
  • {%- endmacro %}