Test Application
SQL Database Test
We need to define some common operations available to all supported sql databases:
- no sample folder
- create only db schema
- step 2. and 'random values'
- other map via 'Database->New'
- create new P,S,R,TI (two for each), Remove one of newly created and one of each existing Timeable.
- start gstpl again
test the following:
. 1 2 5 6
. 3 6 5 6 3
. 1 3 6
. 3 4 3; TODO: for 3. we should use file instead of map in database?
. 3 4 5
Test Startup
possible things that can be done on startup:
- connect with stored connection properties
- create server with stored server properties
- a change server properties; b change connection properties
- create fresh database
- fill db with sample values
possible users are:
newbie to gstplneeds the following startup dialog:
first startup: 2,4,5,1
second startup: 2,1 newbie from a companywho does not need to set up its own server:
first startup: (eventually 3b), 1
second startup: 1
database administratorfirst startup: (3a and b), 2, 4, (1)
second startup: 2, (1)
developerslike me there are two startups necessary:
first startup: 2,4,5 and 1
second startup: 2 and 1
GUI Testing
I know there are GUI testing libraries, but I do it manually to save time...
- DBList:
- sorting, filtering, executing: select * from PERSON;
- select NAME from PERSON test on PERSON; SUBJECT; ROOM; TI New/Remove/View PERSON/SUBJECT/ROOM
- View TI
- Click on all menu items. Test Calculate!!
- Drag and drop panels (FlexDock)
- Viewer: PERSON (add/remove subject); SUBJECT (new/remove TI); ROOM (new TI); TI (new/remove TI) test with and without (the random) values in the database