golioth / golioth-zephyr-sdk

Golioth SDK For Zephyr
https://www.golioth.io
Apache License 2.0
66 stars 19 forks source link

samples: add 'rpc' testing and convert 'logging' to Golioth Python lib #315

Closed mniestroj closed 1 year ago

mniestroj commented 1 year ago

Add Golioth Python package that contains library with simple CLI tool to access Golioth services and communicate with device (indirectly via cloud).

Add basic pytest runtime test for rpc samples, which tries to call RPC method multiply several times and verify returned results.

Convert also samples/logging/ pytest script to use introduced Python package, instead of calling goliothctl subprocess. This shows clearly what are the differences of both solutions in test case implementation.

github-actions[bot] commented 1 year ago

Visit the preview URL for this PR (updated for commit 4c6ca13):

https://golioth-zephyr-sdk-doxygen-dev--pr315-rpc-t8viw26i.web.app

(expires Fri, 04 Nov 2022 13:08:07 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a389eefadf4b4b68a539327b3459dd66c142cf49