axcxl / overwatcher

Ultra-lightweight automated testing framework for CLIs.
MIT License
0 stars 0 forks source link

Prepare some automated tests #15

Open axcxl opened 6 years ago

axcxl commented 6 years ago

Why? Now overwatcher supports telnet and serial, and should work with fast and slow devices with various endline versions. Testing starts to look time-consuming.

It is not that complicated, just need a few devices with serial/telnet connections. Or maybe look into a VM/emulator?

The scrips already written can be used as base. Long running scripts usually are the best since they can catch a lot of weird situations. Maybe add a loop limit? Or just terminate the test after a while...if it is still running, it is ok.

The entire thing can be run in a bash script including verification (using the return codes).

axcxl commented 6 years ago

WIP. Should be in place for first release.