Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
f-interop-contributors
ioppytest
Commits
b425290d
Commit
b425290d
authored
Feb 02, 2017
by
Federico Sismondi
Browse files
fix teminology, testing tool manifest, added doc
parent
52f89c9c
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
b425290d
...
@@ -11,6 +11,8 @@ architecture.
...
@@ -11,6 +11,8 @@ architecture.
-
add coap client automated IUT
-
add coap client automated IUT
-
add feat for handling step by step analysis
-
add feat for handling step by step analysis
-
add more unit testing of coordinator component
-
add more unit testing of coordinator component
-
fix: supervisor 'stop all' singal not stoping processes
-
fix: zombie processes issue with TAT/dissector
-
document isntallation of requirements and dependencies
-
document isntallation of requirements and dependencies
### CoAP Testing tools components
### CoAP Testing tools components
...
...
coap_testing_tool/test_coordinator/coordinator.py
View file @
b425290d
...
@@ -968,7 +968,7 @@ class Coordinator:
...
@@ -968,7 +968,7 @@ class Coordinator:
self
.
notify_coordination_error
(
message
,
None
)
self
.
notify_coordination_error
(
message
,
None
)
return
return
self
.
process
_stimuli_step_executed
()
self
.
handle
_stimuli_step_executed
()
# go to next step
# go to next step
if
self
.
next_step
():
if
self
.
next_step
():
...
@@ -1009,7 +1009,7 @@ class Coordinator:
...
@@ -1009,7 +1009,7 @@ class Coordinator:
self
.
notify_coordination_error
(
message
=
error_msg
,
error_code
=
None
)
self
.
notify_coordination_error
(
message
=
error_msg
,
error_code
=
None
)
self
.
process
_verify_step_response
(
verify_response
)
self
.
handle
_verify_step_response
(
verify_response
)
# go to next step
# go to next step
if
self
.
next_step
():
if
self
.
next_step
():
...
@@ -1049,7 +1049,7 @@ class Coordinator:
...
@@ -1049,7 +1049,7 @@ class Coordinator:
except
KeyError
:
except
KeyError
:
self
.
notify_coordination_error
(
message
=
'Malformed CHECK response'
,
error_code
=
None
)
self
.
notify_coordination_error
(
message
=
'Malformed CHECK response'
,
error_code
=
None
)
self
.
process
_check_step_response
(
verdict
,
description
)
self
.
handle
_check_step_response
(
verdict
,
description
)
# # go to next step
# # go to next step
# if self.next_step():
# if self.next_step():
...
@@ -1204,7 +1204,7 @@ class Coordinator:
...
@@ -1204,7 +1204,7 @@ class Coordinator:
return
self
.
current_tc
.
current_step
return
self
.
current_tc
.
current_step
def
process
_verify_step_response
(
self
,
verify_response
):
def
handle
_verify_step_response
(
self
,
verify_response
):
# some sanity checks on the states
# some sanity checks on the states
assert
self
.
current_tc
is
not
None
assert
self
.
current_tc
is
not
None
assert
self
.
current_tc
.
state
is
not
None
assert
self
.
current_tc
.
state
is
not
None
...
@@ -1232,7 +1232,7 @@ class Coordinator:
...
@@ -1232,7 +1232,7 @@ class Coordinator:
self
.
current_tc
.
current_step
.
type
,
self
.
current_tc
.
current_step
.
type
,
self
.
current_tc
.
current_step
.
state
))
self
.
current_tc
.
current_step
.
state
))
def
process
_check_step_response
(
self
,
verdict
,
description
):
def
handle
_check_step_response
(
self
,
verdict
,
description
):
# some sanity checks on the states
# some sanity checks on the states
assert
self
.
current_tc
is
not
None
assert
self
.
current_tc
is
not
None
assert
self
.
current_tc
.
state
is
not
None
assert
self
.
current_tc
.
state
is
not
None
...
@@ -1253,7 +1253,7 @@ class Coordinator:
...
@@ -1253,7 +1253,7 @@ class Coordinator:
self
.
current_tc
.
current_step
.
type
,
self
.
current_tc
.
current_step
.
type
,
self
.
current_tc
.
current_step
.
state
))
self
.
current_tc
.
current_step
.
state
))
def
process
_stimuli_step_executed
(
self
):
def
handle
_stimuli_step_executed
(
self
):
"""
"""
:return: dict of the next step to be executed
:return: dict of the next step to be executed
"""
"""
...
...
index.json
View file @
b425290d
{
{
"_type"
:
"testsuite.manifest"
,
"_type"
:
"testsuite.manifest"
,
"protocols_under_test"
:
[
"coap"
,
"coap_core"
],
"protocols_under_test"
:
[
"coap"
,
"coap_core"
,
"coap_observe"
],
"protocol_info"
:
[
"protocol_info"
:
[
{
{
"protocol_extension"
:
"CoAP_core"
,
"protocol_extension"
:
"CoAP_core"
,
"specification_id"
:
"
rfc
7252"
,
"specification_id"
:
"
RFC
7252"
,
"specification_ref"
:
"https://tools.ietf.org/html/rfc7252"
,
"specification_ref"
:
"https://tools.ietf.org/html/rfc7252"
,
"test_description_id"
:
"TD_COAP_CORE"
,
"test_description_id"
:
"TD_COAP_CORE"
,
"test_description_ref"
:
"http://f-interop.rennes.inria.fr:8080/coap_testing_tool/extended_test_descriptions/TD_COAP_CORE.yaml"
,
"test_description_ref"
:
"http://f-interop.rennes.inria.fr:8080/coap_testing_tool/extended_test_descriptions/TD_COAP_CORE.yaml"
,
},
{
"protocol_extension"
:
"CoAP_observe"
,
"specification_id"
:
"RFC7641"
,
"specification_ref"
:
"https://tools.ietf.org/html/rfc7641"
,
"test_description_id"
:
"TD_COAP_OBS"
,
"test_description_ref"
:
"http://f-interop.rennes.inria.fr:8080/coap_testing_tool/extended_test_descriptions/TD_COAP_OBS.yaml"
,
}
}
],
],
"iut_role_options"
:
[
"coap_client"
,
"coap_server"
],
"iut_role_options"
:
[
"coap_client"
,
"coap_server"
],
"available_location_models:"
:
[
"loc_mod_A_single_user"
,
"loc_mod_F_single_user"
],
"available_location_models:"
:
[
"loc_mod_A_single_user"
,
"loc_mod_F_single_user"
],
"underlying_supported_protocol"
:
[
"ipv6"
,
"ipv4"
,
"udp"
],
"underlying_supported_protocol"
:
[
"ipv6"
,
"ipv4"
,
"udp"
],
"testing_tool_results_dir"
:
"./data/results/"
,
"testing_tool_ansible_playbook"
:
"ansible/main.yml"
,
"testing_tool_results_link"
:
"http://some_ref_to_session_webserver/data/results/index.json"
,
"owner"
:
"F-Interop"
,
"testing_tool_ansible_playbook"
:
"ansible/main.yml"
"mantainer"
:
"Federico Sismondi"
,
"mantainer_email"
:
"federico.sismondi@inria.fr"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment