LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
analyzer::TestMarkerRules Struct Reference

#include <TestOutline.hpp>

Collaboration diagram for analyzer::TestMarkerRules:
Collaboration graph

Public Attributes

std::string timeField = "timestamp"
 
std::string typeField = "event_type"
 
std::string nameField = "info"
 keyword name (STEP, STEP_FAIL), TEST_END verdict text
 
std::string textField = "payload"
 keyword arguments, failure message, marker text, test name
 
std::string testStart = "TEST_START"
 
std::string testEnd = "TEST_END"
 
std::string keyword = "STEP"
 a keyword starts
 
std::string keywordFail = "STEP_FAIL"
 a keyword failed
 
std::string log = "LOG"
 carries the author's step markers
 
std::string stepMarker = "TestStep"
 LOG text prefix opening a section.
 
std::string expectationMarker = "TestExpectation"
 LOG text prefix of a checked expectation.
 
std::string commandName = "Control command sent"
 nameField of a command to a simulator
 

Detailed Description

The event vocabulary of a test-harness log. Defaults match the Robot Framework listener output of safeAPI merged logs:

[ts] [IO] [robot] [internal] [INFO] [TEST_START] [Test execution started] [name=…]
[ts] [IO] [robot] [internal] [INFO] [STEP] [Wait For CTC Message] ['1', 'CTC_MA_GRANTED', '40s', '1s']
[ts] [IO] [robot] [CTC] [INFO] [getMessage] [Control command sent] [{"cmd": "getMessage", …}]
[ts] [GENERAL] [robot] [internal] [INFO] [LOG] [Log message] [TestStep 3: Wait for CTC's own indication]
[ts] [IO] [robot] [internal] [ERROR] [STEP_FAIL] [Wait For CTC Message] [CTC_MA_GRANTED … not received within 40s]
[ts] [IO] [robot] [internal] [INFO] [TEST_END] [Test finished (FAIL)] [name=… status=FAIL]
Definition TestOutline.hpp:64

Member Data Documentation

◆ commandName

std::string analyzer::TestMarkerRules::commandName = "Control command sent"

nameField of a command to a simulator

◆ expectationMarker

std::string analyzer::TestMarkerRules::expectationMarker = "TestExpectation"

LOG text prefix of a checked expectation.

◆ keyword

std::string analyzer::TestMarkerRules::keyword = "STEP"

a keyword starts

◆ keywordFail

std::string analyzer::TestMarkerRules::keywordFail = "STEP_FAIL"

a keyword failed

◆ log

std::string analyzer::TestMarkerRules::log = "LOG"

carries the author's step markers

◆ nameField

std::string analyzer::TestMarkerRules::nameField = "info"

keyword name (STEP, STEP_FAIL), TEST_END verdict text

◆ stepMarker

std::string analyzer::TestMarkerRules::stepMarker = "TestStep"

LOG text prefix opening a section.

◆ testEnd

std::string analyzer::TestMarkerRules::testEnd = "TEST_END"

◆ testStart

std::string analyzer::TestMarkerRules::testStart = "TEST_START"

◆ textField

std::string analyzer::TestMarkerRules::textField = "payload"

keyword arguments, failure message, marker text, test name

◆ timeField

std::string analyzer::TestMarkerRules::timeField = "timestamp"

◆ typeField

std::string analyzer::TestMarkerRules::typeField = "event_type"

The documentation for this struct was generated from the following file: