add more smoke tests
Need help on adding more smoke tests for the following:
-
--ch-enableand--ch-disable: ~~Need help with how to use and verify these settings are applied~~ EDIT: This has been resolved. -
How do you test
--no-atime
Note: These require at least two connected devices.
3) Test --reply: How do you test this?
4) Test --dest DEST: How do you test this? (looks like #146 might have info about how to setup/test)
5) Test --sendping: ~~How do you test this?~~ EDIT: This has been resolved.
Note: These are probably hard to test.
6) Test --gpio*: What hardware is needed to test this? Can I test on HeltecV21?
7) Test --ble
8) Test --noproto Do we want a smoke test on this?
After looking at the code, I think the --ch-enable and --ch-disable needed some code changes.
So, number 1 above is no longer a question with PR#157. The other items 2-8 need input.
The --no-atime option makes no sense to me.
Perhaps it should be renamed to --send-position?
Looks like to test --reply, open up one terminal session with --reply and then on another terminal do a --sendtext. The first terminal should simply show the value received.
Looks like info about the SerialPlugin can be found in the source: https://github.com/meshtastic/Meshtastic-device/blob/master/src/plugins/esp32/SerialPlugin.cpp#L12