testplan.txt 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Test Plan
  2. =========
  3. 1. Initial Setup
  4. 1.1 Normal Setup
  5. + Pre-Req: Remove oC-Config and all oC-folders completely from
  6. [Linux] ~/.local/share/data/ownCloud
  7. [WinXP] c:\Dokumente und Einstellungen\admin\Lokale Einstellungen\Anwendungsdaten\ownCloud
  8. [Win7]
  9. => Start oCC and configure to
  10. - oC setup start
  11. = Popup "No ownCloud connection was confgured yet." appears.
  12. - Setup with correct values:
  13. - oC where local folder $HOME/ownCloud does not exist
  14. - oC where local folder $HOME/ownCloud does exist
  15. - oC where remote folder clientsync does not exist
  16. = oC set up, but no initial sync folder created
  17. - oC where remote folder clientsync not exists
  18. = oC set up with initial sync folder ~/ownCloud => oC//clientsync
  19. - Setup with wrong url
  20. - Setup with wrong credentials
  21. - check permissions of oC setup file owncloud.cfg
  22. = permissions -rw-------
  23. 2. Credentials Migration
  24. => the first version of oC had plain text credentials in the oC config file.
  25. The migration path has to work: The plaintext password gets removed and
  26. replaced by a Base64 encoded so far.
  27. + Pre-Req: create a credential file with correct cleartext password
  28. entry "password=geheim".
  29. - start oCC
  30. = oCC should start to sync without further notice. After that, the
  31. config file should contain a base64 encoded password.
  32. 3. SSL
  33. => With version 1.0.1 oCC supports SSL connections.
  34. + Pre-Req: Have a SSL ready host with unsigned certificate.
  35. 3.1 SSL connection
  36. - Start ownCloud configuration and enter the SSL url with https://...
  37. = The SSL Certificate dialog comes up.
  38. - Do not check the checkmark to trust
  39. = Connection does not work: "ssl handshake failed."
  40. - Do check the checkmark to trust
  41. = Connection is configured correctly.
  42. = oC config file contains a certificate entry (lots of strange bytes...)
  43. 4. No Password Storage
  44. => Since version 1.0.1 oCC supports that the password is not going to be stored.
  45. For that there is a checkmark in the oC setup dialog.
  46. 4.1 Do not store password.
  47. - Start to configure oC. Checkmark the "Do not store password.." checkbox.
  48. = The password entry field is grayed.
  49. = A dialog pops up and asks for password with displaying dots instead of chars.
  50. = The oC config file contains an empty passwd entry
  51. = The oC config file contains the entry "nostoredpasswd=true"
  52. - restart oC
  53. = oC comes up with a password dialog
  54. - provide good password:
  55. = oC works and never asks again
  56. - provide wrong password:
  57. = oC tells that username or passwd is wrong.
  58. 4.2 Do store password
  59. - Start to configure oC. Checkmark the "Do not store password.." checkbox.
  60. = The password entry field is enabled and takes a passwd
  61. = No dialog pops up to ask for the passwd
  62. = in oC config file the password appears and the nostorepasswd param is false.
  63. - Restart oC.
  64. = Sync starts, no ask for password.