Changes between Version 8 and Version 9 of WindowsTesting


Ignore:
Timestamp:
10/17/16 06:55:23 (8 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WindowsTesting

    v8 v9  
    66* [wiki:OpenVPN24WindowsTests OpenVPN 2.4 Windows tests]
    77
     8= Current test scripts =
     9
     10* [https://github.com/mattock/openvpn-windows-buildtest openvpn-windows-buildtest] bash scripts
     11 * Builds an installer on every commit to "release/2.3" and "master" branches
     12 * Publishes the resulting installers
     13 * Email select developers on build failure
     14* [https://github.com/mattock/openvpn-windows-test openvpn-windows-test] Powershell scripts
     15 * Automated, manually-triggered testing of OpenVPN-GUI, openvpnserv2 and "OpenVPN in cmd.exe"
     16 * Tests are done with arbitrary OpenVPN servers (whatever in the configuration directory)
     17* run.bat/run2.bat from cron2 (unpublished atm)
     18 * Runs openvpn inside cmd.exe against the t_client.sh test servers
     19
    820= Usage patterns to test =
    921
    1022== GUI-based usage (OpenVPN-GUI) ==
    1123
    12 Right now OpenVPN-GUI testing has not been automated, and all tests are manual:
     24All the basic functionality of [https://github.com/OpenVPN/openvpn-gui OpenVPN GUI] should be tested. Connectivity tests have been automated with the [https://github.com/mattock/openvpn-windows-test openvpn-windows-test] Powershell script.
    1325
    14  * Without Interactive Service, with admin privileges
    15  * With Interactive Service, without admin privileges
    16  * With Interactive Service, with admin privileges
    17 
    18 That said, [https://github.com/OpenVPN/openvpn-gui OpenVPN-GUI] communicates with OpenVPN using the management interface, as do all the more recent GUIs. Thus management interface tests (below) will eventually help verify correct operation of OpenVPN-GUI. All the basic functions of OpenVPN-GUI should be tested, but how would these tests be automated? Would it require an automation API in OpenVPN-GUI itself?
     26[https://github.com/OpenVPN/openvpn-gui OpenVPN-GUI] communicates with OpenVPN using the management interface, as do all the more recent GUIs. Thus management interface tests (below) will eventually help verify correct operation of OpenVPN-GUI. All the basic functions of OpenVPN-GUI should be tested, but how would these tests be automated? Would it require an automation API in OpenVPN-GUI itself?
    1927
    2028== OpenVPN as a service (openvpnserv2) ==
    2129
    22 All the basic functionality of [https://github.com/OpenVPN/openvpnserv2 openvpnserv2] should be tested. Right now the tests have to be run manually:
     30All the basic functionality of [https://github.com/OpenVPN/openvpnserv2 openvpnserv2] should be tested. Connectivity tests have been automated with the [https://github.com/mattock/openvpn-windows-test openvpn-windows-test] Powershell script.
     31
     32More advanced tests yet to be automated:
    2333
    2434* Ensuring that the service can be enabled / disabled / started / stopped on all platforms
     
    2939== Direct use from the command-line ==
    3040
    31 Basic usage from the command-line (cmd.exe) should be tested. This is covered by cron2's run.bat/run2.bat script. At minimum we should test these:
     41Basic usage from the command-line (cmd.exe) should be tested. This is covered by
    3242
    33 * Connect and disconnect to a VPN as admin (should work)
    34 * Connect to a VPN as unprivileged user (should fail cleanly)
     43* cron2's run.bat/run2.bat script
     44* [https://github.com/mattock/openvpn-windows-test openvpn-windows-test] Powershell script
     45
     46Other things that should be tested:
     47
     48* Connecting to a VPN as unprivileged user should fail cleanly
    3549
    3650= Windows-specific command-line tools =
     
    6478= Basic connectivity testing =
    6579
    66 Extend t_client.sh tests to Windows also.  Right now: barebones run.bat+run2.bat
     80Extend t_client.sh tests to Windows also.  Right now: barebones run.bat+run2.bat and [https://github.com/mattock/openvpn-windows-test openvpn-windows-test] Powershell script.
    6781
    6882= Infrastructure needed for the tests =