WLAN-Pi / wlanpi-profiler

Wi-Fi client capabilities analyzer tool built for the WLAN Pi
BSD 3-Clause "New" or "Revised" License
25 stars 8 forks source link

adding basic cli tests #31

Closed crvallance closed 4 years ago

crvallance commented 4 years ago

These tests merely run profiler from subproccess and fail if the program exits with a status other than 0. Many of the tests have a wait period and then send sigint otherwise profiler would never exit. This tends to make the testing slow but until these can be refactored to using the actual classes, it will have to do. All flag options are covered individually but not in any combinations of note. The profiler script is assumed to be in path and work with an entry point.