|
| 1 | +Release test |
| 2 | + |
| 3 | +#=============================================================================== |
| 4 | +# Test setup |
| 5 | +#=============================================================================== |
| 6 | +Target: FRITZ!Box 6490 Cable, FRITZ!OS 06.87 |
| 7 | +Devices: MacBook Pro 10.13.3 |
| 8 | + |
| 9 | + |
| 10 | +#=============================================================================== |
| 11 | +# Command Line Tool tests |
| 12 | +#=============================================================================== |
| 13 | +TEST_1.1: Command Line Tool - Usage output |
| 14 | +[ok] Run the script with the parameter '--help' |
| 15 | +[ok] Check if the usage correctly printed on the console? |
| 16 | + |
| 17 | +TEST_1.2: Command Line Tool - WLAN presence information by name |
| 18 | +[ok] Run the script with the parameter '--name' and a valid device name |
| 19 | +[ok] Check if the device WLAN status is returned correctly |
| 20 | + |
| 21 | +TEST_1.3: Command Line Tool - WLAN presence information for all devices |
| 22 | +[ok] Run the script without specifying the parameter '--name' |
| 23 | +[ok] Check if the WLAN status is returned correctly for all devices known to the FritzBox |
| 24 | + |
| 25 | +TEST_1.4: Command Line Tool - Output logger information |
| 26 | +[ok] Run the script with the option '--v3' |
| 27 | +[ok] Check if the script prints out logger information |
| 28 | + |
| 29 | + |
| 30 | +#=============================================================================== |
| 31 | +# Import module tests |
| 32 | +#=============================================================================== |
| 33 | +TEST_2.1: Import module tests - getWLANDeviceInformation() |
| 34 | +[ok] Execute the method and check if the returned output is correct |
| 35 | + |
| 36 | +TEST_2.2: Import module tests - isDevicePresent(deviceName) |
| 37 | +[ok] Execute the method with a valid deviceName and check if the returned output is correct |
| 38 | + |
| 39 | +TEST_2.3: Import module tests - isDevicePresent(deviceName) |
| 40 | +[ok] Execute the method with an invalid deviceName and check if the device is reported as absent |
0 commit comments