Commit 9b624c03 authored by Federico Sismondi's avatar Federico Sismondi

added test case finished signal

parent 7c4d064d
......@@ -68,7 +68,7 @@ import json
import uuid
import logging
API_VERSION = '0.1.11'
API_VERSION = '0.1.12'
# TODO use metaclasses instead?
......@@ -449,6 +449,22 @@ class MsgTestCaseFinish(Message):
'_type': 'testcoordination.testcase.finish',
}
class MsgTestCaseFinished(Message):
"""
Testing Tool MUST-implement notification.
Testing Tool -> GUI
This message is followed by a verdict
"""
routing_key = 'control.testcoordination'
_msg_data_template = {
'_type': 'testcoordination.testcase.finished',
'testcase_id' : 'TD_COAP_CORE_01',
'message' : 'Testcase finished'
}
class MsgTestCaseSkip(Message):
"""
......@@ -976,6 +992,7 @@ message_types_dict = {
"testcoordination.testcase.skip": MsgTestCaseSkip, # GUI -> TestingTool
"testcoordination.testcase.select": MsgTestCaseSelect, # GUI -> TestingTool
"testcoordination.testcase.finish": MsgTestCaseFinish, # GUI -> TestingTool
"testcoordination.testcase.finished": MsgTestCaseFinished, # TestingTool -> GUI
"testcoordination.testcase.verdict": MsgTestCaseVerdict, # TestingTool -> GUI
"testcoordination.testsuite.abort": MsgTestSuiteAbort, # GUI -> TestingTool
"testcoordination.testsuite.getstatus": MsgTestSuiteGetStatus, # GUI -> TestingTool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment