Results

Test events (updating)

Updated:2022-11-17

Content GlimseTest

SuiteStarted

plugin:content-inject

SuiteEnded
CaseStarted
CaseEnded
Verdict
CaseTriggered
CaseCanceled



Sequence diagram when using Maia Agent.

%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Verdana','fontSize': '14px', 'primaryColor': '#f7f7f7', 'textColor': '#555555', 'actorBkg': '#ffffff', 'noteBorderColor': '#c3c3c3', 'noteBkgColor': '#f7f7f7' }}}%% sequenceDiagram MaiaAgent->>Kafka: SuiteStarted(name, artifactUuid) Note right of Kafka: Comment - Top level suite, Connect to built artifact. MaiaAgent->>Kafka: SuiteStarted(name, testSuiteUuid, sourceChangeUuid) Note right of Kafka: Comment - Second level suite, Connect to commit (optional). rect rgb(247, 247, 247) TestRunner-->>TestRunner: loop for all test cases TestRunner->>Kafka: CaseTriggered(name, testSuiteUuid, artifactUuid) Note right of Kafka: Comment - Register a test, Connect to built artifact (optional). TestRunner-->>Kafka: CaseTriggered(name, testSuiteUuid, artifactUuid) Note right of Kafka: Comment - Register next test (optional). end rect rgb(247, 247, 247) TestRunner-->>TestRunner: loop for all test cases TestRunner->>Kafka: CaseStarted(testCaseUuid, environmentUuid) Note right of Kafka: Comment - Test started, Connect to environment (optional). TestRunner->>Kafka: Verdict(testCaseUuuid, result, backtrace) Note right of Kafka: Comment - Detailed information about each failure (optional). Metrics (for example logs) is optional. TestRunner->>Kafka: CaseEnded(testCaseUuid, result, metrics) Note right of Kafka: Comment - Test done with result (verdict). TestRunner-->>Kafka: CaseStarted(testCaseUuid, environmentUuid) TestRunner-->>Kafka: Verdict(testCaseUuuid, result, backtrace) TestRunner-->>Kafka: CaseEnded(testCaseUuid, result, metrics) end MaiaAgent->>Kafka: SuiteEnded(testSuiteuuid) Note right of Kafka: Comment - Second level suite. MaiaAgent->>Kafka: SuiteEnded(testSuiteuuid) Note right of Kafka: Comment - Top level suite.



Sequence diagram when Not using Maia Agent (UPDATING....).

%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Verdana','fontSize': '14px', 'primaryColor': '#f7f7f7', 'textColor': '#555555', 'actorBkg': '#ffffff', 'noteBorderColor': '#c3c3c3', 'noteBkgColor': '#f7f7f7' }}}%% sequenceDiagram TestRunner->>Kafka: SuiteStarted(name, artifactUuid) Note right of Kafka: Comment - Top level suite, Connect to built artifact. TestRunner->>Kafka: SuiteStarted(name, testSuiteUuid, sourceChangeUuid) Note right of Kafka: Comment - Second level suite, Connect to commit (optional). rect rgb(247, 247, 247) TestRunner-->>TestRunner: loop for all test cases TestRunner->>Kafka: CaseTriggered(name, testSuiteUuid, artifactUuid) Note right of Kafka: Comment - Register a test, Connect to built artifact (optional). TestRunner-->>Kafka: CaseTriggered(name, testSuiteUuid, artifactUuid) Note right of Kafka: Comment - Register next test (optional). end rect rgb(247, 247, 247) TestRunner-->>TestRunner: loop for all test cases TestRunner->>Kafka: CaseStarted(testCaseUuid, environmentUuid) Note right of Kafka: Comment - Test started, Connect to environment (optional). TestRunner->>Kafka: Verdict(testCaseUuuid, result, backtrace) Note right of Kafka: Comment - Detailed information about each failure (optional). Metrics (for example logs) is optional. TestRunner->>Kafka: CaseEnded(testCaseUuid, result, metrics) Note right of Kafka: Comment - Test done with result (verdict). TestRunner-->>Kafka: CaseStarted(testCaseUuid, environmentUuid) TestRunner-->>Kafka: Verdict(testCaseUuuid, result, backtrace) TestRunner-->>Kafka: CaseEnded(testCaseUuid, result, metrics) end TestRunner->>Kafka: SuiteEnded(testSuiteuuid) Note right of Kafka: Comment - Second level suite. TestRunner->>Kafka: SuiteEnded(testSuiteuuid) Note right of Kafka: Comment - Top level suite.


Protobuf definitions for GlimseTest events:

plugin:content-inject