# TESTPLAN for TUTOS Version 1.1
# $Id: testplan_version_1_1.txt,v 1.1 2003/01/15 19:42:19 gokohnert Exp $
#
# Copyright Gero Kohnert
#
#
# $Log: testplan_version_1_1.txt,v $
# Revision 1.1  2003/01/15 19:42:19  gokohnert
# initial
#
#
This is a testplan for TUTOS Verison 1.1

This is original a copy of testplan.txt

(sometime we will put this in TUTOS itself (hopefully)

Base Data
Version of TUTOS        : 1.1
Version of PHP          :
Version of Apache       :
Type/Version of DB      :
OS                      :
Language used           :
Theme used              :
Layout Engine used      :
Browser Type/Version    :



-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
ID           SECTION                        desired Result                              Date Tested     Tested by       Result  OK ?    Comments
             What do test                                                               YYYY-MM-DD                      YES/NO          What happend
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------

1            BUILD
             Make package                   run make download-php

-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
2            INSTALL
             Retrieve Package               got a tutos-all....tar.bz2
             unpack (check README)          there should be some hint how to unpack
             check completness              all files there (permissions ok)
             create config.php

-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
3            INITIALIZE
             run all steps scheme.php       we should have some data in the DB

3.1          later:
             repeat this without demo data

3.2          later:
             do this with MySQL

3.3          later:
             do this with Postgres

3.4          later:
             do this with Oracle

3.5          later:
             do this with Interbase

All Pages
	     validate HTML Syntax
	     call http://validator.w3.org
	     with something like http://www.tutos.org/php/..._show.php?uname=linus&pw=guest&dbnr=0


-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
4            LOGIN
             login as superuser using
             an empty target url 
             like .../php                   see a TUTOS page with mytutos.php
             logout                         see login page
             login to a specific page
             like .../php/address_select    see this page
             logout                         see login page

             login with wrong password      NO login
             login with wrong unknown user  NO login

             do above with other auth 
             modules
             -> ldap
             -> x509
             -> pam

             password reminder
             -> check with usemail=0
             -> check new password
             check help pages
             disable login in user setting  no login possible for that user          
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
5            ADDRESSES
             do this as non superuser
             create
             -> check permissions
             add a location
             add another location
             check links:
             company
             department
             check handlers:
             mapquest
             cia_factbook
             mail
             remove a location
             remove addressentry
             call pages as nonallowed user
             -> check location permissions
             check the history list
             check help pages               Specific Helppage displayed in a own window
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
6            USER
             add user to an existing
             adressentry
             login as this user
             -> change user settings
             delete user
             try to delete addressentry
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
7            APPOINTMENT
             create appointment
             -> w/o repeating
             -> with repeating
             -> with invitation
             -> with voting
             --> change vote
             -> with conflicts
             change entry
             -> wrong dates
             delete appointment
             check visibilty in calenders
             check permissions as 
             another user
             call pages as nonallowed user  no access / error message
             call select
             -> extended
             -> test wrong input
             call overview
             -> reorder
             -> check links
             disable feature                menus should disappear 
             -> for a single user           menus should disappear for user
             check the history list         all performed steps are documeted in 
                                            history, after object deletion only a 
                                            delete entry is there
             check help pages               Specific Helppage displayed in a own window
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
8            PRODUCT
             create
             -> check permissions
             modify
             -> set roles
             -> check permissions           members must ahve mod permission
             mail to team
             -> check mails
             delete
             -> check attached objects      attached objects are deleted
             disable feature                menus should disappear 
             -> for a single user           menus should disappear for user
             call pages as nonallowed user  no access / error message
             check the history list         all performed steps are documeted in 
                                            history, after object deletion only a 
                                            delete entry is there
             check help pages               Specific Helppage displayed in a own window
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
9            BUG
             create
             move to another parent
             modify
             -> move                        move must be possible within 
                                            the tasks hierachy
             check mails
             disable feature                menus should disappear 
             -> for a single user           menus should disappear for user
             delete
             -> change bugdelete in config  delte menuentry must disappear
             call pages as nonallowed user  no access / error message
             check the history list         all performed steps are documeted in 
                                            history, after object deletion only a 
                                            delete entry is there
             check help pages               Specific Helppage displayed in a own window
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
10           TASK
             create          
             modify
             -> move                        move must be possible within 
                                            the tasks hierachy
             -> subtasks
             -> workers                     workers should have modify rights
             -> date                        wrong dates are not allowed
             delete
             disable module                 menus should disappear 
             -> for a single user           menus should disappear for user
             call pages as nonallowed user  no access / error message
             check the history list         all performed steps are documeted in 
                                            history, after object deletion only a 
                                            delete entry is there
             check help pages               Specific Helppage displayed in a own window
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
11           FILE
             create         
             see
             download
             modify
             -> maximum size 
             delete
             repeat with Versioning
             call pages as nonallowed user  no access / error message
             check the history list         all performed steps are documeted in 
                                            history, after object deletion only a 
                                            delete entry is there
             check help pages               Specific Helppage displayed in a own window
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
12           Module URL
             create
             modify
             delete

             attach url to team
             -> check menus
             disable module                 menus should disappear 
             -> for a single user           menus should disappear for user
             call pages as nonallowed user  no access / error message
             check the history list         all performed steps are documeted in 
                                            history, after object deletion only a 
                                            delete entry is there
             check help pages               Specific Helppage displayed in a own window
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
13           Module RESOURCE
             create                         Object is visible in select lists
             modify
             delete
             disable module                 menus should disappear 
             -> for a single user           menus should disappear for user
             call pages as nonallowed user  no access / error message
             check the history list         all performed steps are documeted in 
                                            history, after object deletion only a 
                                            delete entry is there
             check help pages               Specific Helppage displayed in a own window
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
14           Module MAILBOX
             create                         Object is visible on parents detail page
             -> without password            access is checked with session saved
                                            password / DB column empty
             -> using imap
             -> using pop3
             modify
	     -> add a folder
	     -> delete a mail
	     -> delete a folder
	     display
	     -> display mail
	     -> display attachments
	     -> use reply
             delete
             disable module                 menus should disappear 
             -> for a single user           menus should disappear for user
             call pages as nonallowed user
             call pages as nonallowed user  no access / error message
             check the history list         all performed steps are documeted in 
                                            history, after object deletion only a 
                                            delete entry is there
             check help pages               Specific Helppage displayed in a own window
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
15           COMPANY
             create
             modify
             -> add location
             -> add members in addressbook
             delete
             -> check members location
                entries
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
16           DEPARTMENT
             create
             modify
             -> add location
             -> add members in addressbook
             delete
             -> check members location
                entries
             delete parent object
             -> check existance
             call pages as nonallowed user  no access / error message
             check the history list         all performed steps are documeted in 
                                            history, after object deletion only a 
                                            delete entry is there
             check help pages               Specific Helppage displayed in a own window
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
17           Module INSTALLATION
             create
             modify
             -> add location
             -> add members in addressbook
             delete
             -> check members location
                entries
             delete parent object
             -> check existance
             disable module                 menus should disappear 
             -> for a single user           menus should disappear for user
             call pages as nonallowed user  no access / error message
             check the history list         all performed steps are documeted in 
                                            history, after object deletion only a 
                                            delete entry is there
             check help pages               Specific Helppage displayed in a own window
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
18           Module GROUP            
             disable module                 menus should disappear 
             -> for a single user           menus should disappear for user
             call pages as nonallowed user  no access / error message
             check the history list         all performed steps are documeted in 
                                            history, after object deletion only a 
                                            delete entry is there
             check help pages               Specific Helppage displayed in a own window
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
19           Module NOTES            
             disable module                 menus should disappear 
             -> for a single user           menus should disappear for user
             call pages as nonallowed user  no access / error message
             check the history list         all performed steps are documeted in 
                                            history, after object deletion only a 
                                            delete entry is there
             check help pages               Specific Helppage displayed in a own window
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
20           Module INVOICE
             disable module                 menus should disappear 
             -> for a single user           menus should disappear for user
             call pages as nonallowed user  no access / error message
             check the history list         all performed steps are documeted in 
                                            history, after object deletion only a 
                                            delete entry is there
             check help pages               Specific Helppage displayed in a own window

-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
21           Handler - PHPWEATHER
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
22           Handler - CIA Factbook
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
23           Handler - SMS
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
24           Handler - FAX
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
25           Handler - MAPQUEST
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------



-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
             DB Sync
	     Sync Databases
	     -> complete copy
	     -> diff
	     -> different types
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
	     DB Update
	     -> run update.php
-------------------------------------------+-------------------------------------------+---------------+---------------+---------------+----------------
	     Security
	     -> use https
	     -> use php safe_mode


