Used for over the air integration testing on hardware, using 2 Sub-IoT-Stack modems attached using serial. The testsuite covers a range of DASH7 features, but is not complete yet.
install deps:
$ sudo pip2 install -r requirements.txt
run like:
$ python2 run.py --serial-test-device=/dev/ttyACM0 --serial-dut=/dev/ttyACM1 -v
Tests to run or not to run can be configured using markers. Following markers are currently used:
- band433
- lora
When adding -m "<marker>"
only the tests which are marked with will run.
This can also be negated by using not <marker>
and markers can be combined using and
/or
.
Some test can be executed in a loop, which is useful for more extensive testing (nightly) when there is some random behavior involved.
You can configure this using -loop <count>
, by default this is set to 1.