|
|
Test Id |
(t) Test Item |
(i) Input Spec |
(o) Output Spec |
(e) Env needs |
(d) Dependencies/ Notes |
|
work_mysql_001 |
Existence of necessary popup menu item |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid MySQL server parameters and click "OK". 3. Rightclick MySQL server node. |
3. Popup menu item should contain following items: "Create Database...", "Start", "Stop", "Connect", "Disconnect", "Delete", "Run Administration Tool", "Properties". | ||
|
work_mysql_002 |
Existence of certain databases |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid MySQL server parameters and click "OK". 3. Expand MySQL server node. |
3.
Databases, which exist on server, should be available as subnodes. |
||
|
work_mysql_003 |
Wrong MySQL server admin properties |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify invalid admin properties. |
2. OK button should be disabled.. | ||
|
work_mysql_004 |
Start MySQL server |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid admin properties for MySQL server and click "OK". 3. Rightclick MySQL server node and choose "Start". |
3. MySQL server should be started. | ||
|
work_mysql_005 |
Stop MySQL server | 1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid admin properties for MySQL server and click "OK". 3. Rightclick MySQL server node and choose "Start". 4. Rightclick MySQL server node and choose "Stop". |
4. MySQL server should be stopped. | ||
|
work_mysql_006 |
Run
Administration Tool without set admin properties |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server, but don't specify admin properties and click "OK". 3. Rightclick MySQL server node and choose "Run Administration Tool". |
3.
Dialog should appear with proposal to set admin properties. |
||
| work_mysql_007 | Run Administration Tool with set admin properties | 1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server, specify admin properties and click "OK". 3. Rightclick MySQL server node and choose "Run Administration Tool". |
3. Administration Tool should be invoked. | ||
| work_mysql_008 | MySQL
properties |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server and click "OK". 3. Rightclick MySQL server node and choose "Properties". |
3.
Properties dialog should appear. |
||
|
work_mysql_009 |
Delete
MySQL server |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server and click "OK". 3. Rightclick MySQL server node and choose "Delete". |
3.
After confirmation MySQL server node should be deleted. |
||
|
work_mysql_010 |
Create
standard DB with user, who hasn't admin privilegies |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server, but with user, who hasn't admin privilegies, and click "OK". 3. Rightclick MySQL server node and choose "Create Database...". 4. Choose database "sample" and click OK. |
4.
Message that user aren't granted should appear. |
||
|
work_mysql_011 |
Create
standard DB without data for user, who has admin privilegies |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with user, who has admin privilegies, and click "OK". 3. Rightclick MySQL server node and choose "Create Database...". 4. Choose database "sample" and click OK. 5. In appeared dialog click "No". |
5.
Database "sample" should be created, but it shouldn't contain any data. |
||
| work_mysql_012 | Create standard DB with data for user, who has admin privilegies | 1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with user, who has admin privilegies, and click "OK". 3. Rightclick MySQL server node and choose "Create Database...". 4. Choose database "sample" and click OK. 5. In appeared dialog click "Yes". |
5. Database "sample" should be created and it should contain data. | ||
| work_mysql_013 | Create standard DB with user, who has admin privilegies | 1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with user, who has admin privilegies, and click "OK". 3. Rightclick MySQL server node and choose "Create Database...". 4. Choose database "sample" and click OK. |
4. Database "sample" should be created. | ||
|
work_mysql_014 |
Create
existing database |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with admin user and click "OK". 3. Rightclick MySQL server node and choose "Create Database...". 4. Choose database "sample" and click OK. 5. Rightclick MySQL server node again and choose "Create Database...". 6. Choose database "sample" and click OK. |
6.
Message that database exists should appear. |
||
|
work_mysql_015 |
List
of standard databases |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with admin user and click "OK". 3. Rightclick MySQL server node and choose "Create Database...". |
3.
Dropdown List should contain 'sample', 'vir' and 'travel' databases. |
||
|
work_mysql_016 |
Create non standard DB with admin user | 1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with admin user and click "OK". 3. Rightclick MySQL server node and choose "Create Database...". 4. Enter "test" in "Database Name" field and click OK. |
4. Database "test" should be created. | ||
|
work_mysql_017 |
Connect
to database |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with admin user and click "OK". 3. Expand MySQL server node, rightclick one of database from the list and choose "Connect". 4. Specify password and click "OK". |
4.
Selected database should appear in connections tree as a node and it
should be connected. |
||
|
work_mysql_018 |
Disconnect from database | 1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with admin user and click "OK". 3. Expand MySQL server node, rightclick one of database from the list and choose "Connect". 4. Specify password and click "OK". 5. Rightclick database and click "Disconnect". |
5. Selected database should be disconnected. | ||
|
work_mysql_019 |
Delete
database |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with admin user and click "OK". 3. Expand MySQL server node, rightclick one of database from the list and choose "Connect". 4. Specify password and click "OK". 5. Rightclick database and click "Delete". |
5. Selected database should be deleted. | ||
|
work_mysql_020 |
Invoke MySQL Workbench | 1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with admin user and click "OK". 3. Invoke MySQL Workbench. |
3. MySQL Workbench should be invoked. | Will be implemented in the future | |
|
work_mysql_021 |
Show execution plan for MySQL | 1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with admin user and click "OK". 3. Connect to some MySQL database and open SQL editor for it. 4. Execute some query. 5. Invoke "Execution plan" for the result of the query. |
5. The execution plan visually should be represented as a depth-first tree. The output will appear in a pane below the Table Properties in the right bottom pane. | Will be implemented in the future | |
| work_mysql_022 | Create
standard DB without data by typing it's name |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with user, who has admin privilegies, and click "OK". 3. Rightclick MySQL server node and choose "Create Database...". 4. Enter database name "sample" and click OK. 5. In appeared dialog click "No". |
5. Database "sample" should be created, but it shouldn't contain any data. | ||
| work_mysql_023 | Create standard DB with data by typing it's name | 1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with user, who has admin privilegies, and click "OK". 3. Rightclick MySQL server node and choose "Create Database...". 4. Enter database name "sample" and click OK. 5. In appeared dialog click "Yes". |
5. Database "sample" should be created and it should contain data. | ||
| work_mysql_024 | Disconnect from DBs after
stopping server |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with user, who has admin privilegies, and click "OK". 3. Start MySQL server. 4. Expand MySQL server node, rightclick some DB node and choose "Connect". 5. Stop MySQL server. |
4. Connection should appear. 5. DB connection should be broken. |
||
| work_mysql_025 | Removing connection after
removing DB from the server |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with user, who has admin privilegies, and click "OK". 3. Start MySQL server. 4. Expand MySQL server node, rightclick some DB node and choose "Connect". 5. Rightclick DB node under MySQL server node and choose "Delete". |
4. Connection should appear. 5. DB should be removed and it's connection also should be removed. |
||
|
work_mysql_026 |
Start MySQL server without admin properties |
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server and click "OK". 3. Rightclick MySQL server node and choose "Start". |
3. Dialog should appear with proposal to set admin properties. | ||
|
work_mysql_027 |
Stop MySQL server without admin properties |
1.
Start MySQl server. 2. Rightclick "Databases" node and choose "Register MySQL Server". 3. Specify valid basic properties for MySQL server and click "OK". 4. Rightclick MySQL server node and choose "Start". |
4. Dialog should appear with proposal to set admin properties. | ||
|
work_mysql_028 |
Stop MySQL server without admin properties |
1.
Start MySQl server. 2. Rightclick "Databases" node and choose "Register MySQL Server". 3. Specify valid basic properties for MySQL server and click "OK". 4. Remove some database with MySQL tools, rightclick MySQL server node and choose "Refresh". |
4. List of availalbe DBs should be refreshed. |
|
Test Id |
(t) Test Item |
(i) Input Spec |
(o) Output Spec |
(e) Env needs |
(d) Dependencies/ Notes |
| sakila_001 | Create sakila DB without data
|
1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with user, who has admin privilegies, and click "OK". 3. Rightclick MySQL server node and choose "Create Database...". 4. Choose database "sakila" and click OK. 5. In appeared dialog click "No". |
5. Database "sakila" should be created, but it shouldn't contain any data. | ||
| sakila_002 | Create sakila DB with data | 1.
Rightclick "Databases" node and choose "Register MySQL Server". 2. Specify valid basic properties for MySQL server with user, who has admin privilegies, and click "OK". 3. Rightclick MySQL server node and choose "Create Database...". 4. Choose database "sakila" and click OK. 5. In appeared dialog click "Yes". |
5. Database "sakila" should be created and it should contain data. |
|
Test Id |
(t) Test Item |
(i) Input Spec |
(o) Output Spec |
(e) Env needs |
(d) Dependencies/ Notes |
|
reg_postgresql_001 |
Detection
of running server |
1.
Run PostgreSQL on the local host at the default port of 5432 2. Start IDE with fresh userdir. |
2.
PostgreSQL server node should be automatically registered with user of
'postgres' and an empty password. |
Will be implemented in the future |
|
Reviewer Name & Title |
Date |
Status |
|
|
|
|
|
Author |
Date |
Revision |
|
Roman Mostyka |
June-29-2008 |
First Draft |