-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
This module includes different tests in order to increase code robustness, the following Iridium SBD emulator is also included as a submodule for testing purposes.
The majority of tests included in this repository are integrations tests, I tried to do my best for integrating such tests using the Twister tool using some CMake
workarrounds which I am not comfortable with, but its currently working. Zephyr is currently developing a second version of Twistter which is basically a plugin for the Pytest framework which should simplify this type of tests.
The emulator is implemented using TypeScript which is a superset of JavaScript, so you'll need the Node JS runtime environment in order to be able to run the tests succesfully. Make sure npm
and node
executables are accessible from your $PATH
.
Now go to the root of this repository and run the following command:
twister -vv -T tests/