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

#include <TestOutline.hpp>

Collaboration diagram for analyzer::TestStep:
Collaboration graph

Public Types

enum class  Kind { Section , Keyword , Expectation }
 

Public Attributes

Kind kind {Kind::Keyword}
 
std::string name
 section title, keyword name or marker text
 
std::string args
 keyword arguments (keywords only)
 
std::size_t firstRow {0}
 EventsContainer index of the step's first event.
 
std::size_t endRow {0}
 one past the step's last event
 
std::int64_t startUs {-1}
 start relative to TEST_START in µs; -1 = no timestamp
 
std::int64_t durationUs {-1}
 until the next step starts, in µs; -1 = unknown
 
StepStatus status {StepStatus::Passed}
 
int failures {0}
 STEP_FAIL events of this step (sections: of their children)
 
std::string failMessage
 message of the step's last failure
 
std::vector< TestStep > children
 keywords and expectations of a section
 

Member Enumeration Documentation

◆ Kind

enum class analyzer::TestStep::Kind
strong
Enumerator
Section 

Setup, one TestStep N: … marker, or Teardown.

Keyword 

one STEP event

Expectation 

one TestExpectation … marker

Member Data Documentation

◆ args

std::string analyzer::TestStep::args

keyword arguments (keywords only)

◆ children

std::vector<TestStep> analyzer::TestStep::children

keywords and expectations of a section

◆ durationUs

std::int64_t analyzer::TestStep::durationUs {-1}

until the next step starts, in µs; -1 = unknown

◆ endRow

std::size_t analyzer::TestStep::endRow {0}

one past the step's last event

◆ failMessage

std::string analyzer::TestStep::failMessage

message of the step's last failure

◆ failures

int analyzer::TestStep::failures {0}

STEP_FAIL events of this step (sections: of their children)

◆ firstRow

std::size_t analyzer::TestStep::firstRow {0}

EventsContainer index of the step's first event.

◆ kind

Kind analyzer::TestStep::kind {Kind::Keyword}

◆ name

std::string analyzer::TestStep::name

section title, keyword name or marker text

◆ startUs

std::int64_t analyzer::TestStep::startUs {-1}

start relative to TEST_START in µs; -1 = no timestamp

◆ status

StepStatus analyzer::TestStep::status {StepStatus::Passed}

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