Open newpcraft opened 7 years ago
I just pushed a test project here due to how we add ui test code for a cubrid manager client, however, it is just scratches for demo which means that I'm not sure whether or not it works for all environment. Yes, that's just my private scratches.
https://github.com/newpcraft/cubrid-manager/commit/c10975afe6dbec4f460cdc537bde1ef29fb63bfd
In above test, it should require a cubrid server with the demodb that didn't be changed a password of admin on the cubrid manager server. In order to test successfully, you should rolling back the password of the cubrid manager, so you can refer the following article how to replace with default cubrid manager password.
http://www.cubrid.org/wiki_tools/entry/how-to-reset-admin-password-for-cubrid-manager
Simply, you have only to replace a password with admin:6e85f0f80f030451dc9e98851098dfb2
in $CUBRID/conf/cm.pass
file.
As well as you also should stop a demodb server before you run this test using the following command.
cubrid server stop demodb
I'm still investigating how make it sure testing through headless fashion through swtbot. However, as I knew that it may also work under headless of swtbot if we make it sure qualified tests cases by swtbot framework.
Swtbot also provides test code generator however you may unsatisfied a result from the generator which means you also need to write your test codes manually(however quite helpful sometime).
goal