Skip to content

Commit 3ed6aec

Browse files
Add communication (LoLa/mw::com) feature integration tests to ITF
1 parent 9b9a1be commit 3ed6aec

3 files changed

Lines changed: 713 additions & 1 deletion

File tree

feature_integration_tests/itf/BUILD

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ config_setting(
3333
filegroup(
3434
name = "all_tests",
3535
srcs = [
36+
"comm_helpers.py",
37+
"test_communication.py",
38+
"test_properties.py",
3639
"test_remote_logging.py",
3740
"test_showcases.py",
3841
"test_ssh.py",
@@ -44,7 +47,13 @@ py_itf_test(
4447
srcs = [
4548
":all_tests",
4649
],
47-
args = select(
50+
# "-p attribute_plugin" activates score_tooling's requirement-traceability
51+
# pytest plugin (see the "deps" attribute below) so that
52+
# @add_test_properties(...) (feature_integration_tests/itf/test_properties.py)
53+
# writes PartiallyVerifies/FullyVerifies properties into the JUnit XML
54+
# report, matching the convention already used by
55+
# feature_integration_tests/test_cases (persistency FIT).
56+
args = ["-p", "attribute_plugin"] + select(
4857
{
4958
":config_linux_x86_64": [
5059
"--dlt-config=$(location //feature_integration_tests/configs:dlt_config_x86_64.json)",
@@ -59,6 +68,9 @@ py_itf_test(
5968
},
6069
no_match_error = "Unsupported platform",
6170
),
71+
deps = [
72+
"@score_tooling//python_basics/score_pytest:attribute_plugin",
73+
],
6274
data = select({
6375
":config_linux_x86_64": [
6476
"//feature_integration_tests/configs:dlt_config_x86_64.json",

0 commit comments

Comments
 (0)