Skip to content

Add test to edgehog_device#56

Draft
harlem88 wants to merge 3 commits intoedgehog-device-manager:mainfrom
harlem88:add_more_tests
Draft

Add test to edgehog_device#56
harlem88 wants to merge 3 commits intoedgehog-device-manager:mainfrom
harlem88:add_more_tests

Conversation

@harlem88
Copy link
Copy Markdown
Contributor

@harlem88 harlem88 commented Feb 9, 2022

  • Add nvs get/set string test cases.
  • Add edgehog_device_get_telemetry_type test cases.
  • Add edgehog_device_get_telemetry_periodic test cases.
  • Increase WDT_TIMEOUT_MS for fixing Interrupt wdt timeout on CPU0
    when running test in QEMU.

The pytest-embedded is designated for the embedded testing.
It provides multiple services for running test on target
or host with qemu.
Add github action for running test in QEMU.

Signed-off-by: Antonio Gisondi <antonio.gisondi@secomind.com>
Add check to telemetry config len.
Add test cases to telemetry config len equal to 0.

Signed-off-by: Antonio Gisondi <antonio.gisondi@secomind.com>
@harlem88 harlem88 marked this pull request as draft February 9, 2022 15:49
Add nvs get/set string test cases.
Add `edgehog_device_get_telemetry_type` test cases.
Add `edgehog_device_get_telemetry_periodic` test cases.
Increase WDT_TIMEOUT_MS for fixing 'Interrupt wdt timeout on CPU0'
when run test in QEMU.

Signed-off-by: Antonio Gisondi <antonio.gisondi@secomind.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant