Module Manager Test Specification
Author: Jaromir Uhrik
Version: 1.0.0
Last update: 12.08.2005
Introduction: This document is intended as a test scenarios description for Module Manager which allows to activate/deactivate and uninstall/revert module or module category in NetBeans IDE. It supplies removed Setup Wizard too.
Comment:
Table of Contents
|
Purpose: Test the existence of Module Manager menu and availability of module manager window.
Setup: Run NetBeans IDE with clean userdir.
| # | Test case | Description |
| 1 | Check Module Manager menu |
1. Check the existence of Module Manager menu in Tools main menu.
|
|
|
RESULT:
Module Manager menu item is in Tools menu next to NetBeans Update menu item and is enabled. |
| 2 | Open Module Manager |
1. Go to Tools main menu and select Module Manager menu item.
|
|
|
RESULT:
The window with "Module Manager" string in its title appears promptly. |
| 3 | Check Module Manager window content |
1. Look at the content of Module Manager window.
|
|
RESULT:
There are following components contained in the Module Manager window:
- Table with columns Update, Name, Active, Version, Backup.
- Description are - down to the table.
-
Uninstall and Revert buttons - on the right side .
-
Update... button - in the left down corner.
-
Close button in the right down corner.
|
| 4 | Close Module Manager window |
|
|
RESULT:
The Module Manager window disappears promptly. |
Teardown:
|
|
Purpose:
Setup: Start NetBeans IDE and open Module Manager (Tools | Module Manager).
| # | Test case | Description |
| 1 | Deactivate single module |
1. Disable module none module depends on (e.g. Data Files | Image) by clicking on its Active checkox.
|
|
|
RESULT:
The checkbox becomes unchecked and the status line contains "Recreating cache of installed objects of modules...done". Then the status line changes to "Turning off modules...done". |
| 2 | Activate module |
1. Avtivate the module back by clicking on its disabled checkbox.
|
|
|
RESULT:
The checkbox becomes checked and the status line contains "Recreating cache of installed objects of modules...done". Then the status line changes to "Turning on modules...done". |
| 3 | Deactivate module with dependent module(s) |
1. Select any module other modules depend on it (e.g. Database | Database Explorer). 2. Click to its checkbox in "Active" column. 3. Yes/No dialog appears and asks whether to deactivate list of modules. 4. Press Yes button.
|
|
|
RESULT:
The checkbox turns to unchecked for all module and all dependent modules. The status line contains "Recreating cache of installed objects of modules...done". Then the status line changes to "Turning off modules...done". For module categories containing mixed (activated and deactivated) modules the checkbox in "Active" column changes icon (color turns to be more dark or gray depending on platform) that signalizes that some of modules are disabled. |
| 4 | Activate depending module |
1. Try to enable some disabled module that depends on some module also disabled (e.g. Database | Database Schema -JDBC Implementation, it depends on Database| Database Explorer). 2. Yes/No dialog appears and asks whether to activate both modules. 3. Press Yes button.
|
|
|
RESULT:
The checkbox turns to checked for both modules and its category. The status line contains "Recreating cache of installed objects of modules...done". Then the status line changes to "Turning on modules...done". |
| 5 | Cancel deactivation of module with dependent module(s) |
1. Select any module other modules depend on it (e.g. Database | Database Explorer). 2. Click to its checkbox in "Active" column. 3. Yes/No dialog appears and asks whether to deactivate list of modules. 4. Press No button.
|
|
|
RESULT:
No module is disabled and the checkbox in "Active" column returns to enabled state. |
| 6 | Cancel activation of depending module |
1. Try to enable some disabled module that depends on some module also disabled (e.g. Database | Database Schema -JDBC Implementation, it depends on Database| Database Explorer). 2. Yes/No dialog appears and asks whether to activate both modules. 3. Press No button.
|
|
|
RESULT:
Yes/No dialog disappears and both modules will stay disabled. |
| 7 | Activate all modules |
1. Invoke popup menu at the table. 2. Select menu item Sort | Name. 3. Invoke popup menu at the table again. 4. Select menu item Activate All Modules.
|
|
|
RESULT:
Modules are sorted by name and all become enabled. The status line contains "Recreating cache of installed objects of modules...done". Then the status line changes to "Turning on modules...done". |
Teardown:
|
|
Purpose:
Setup:
| # | Test case | Description |
| 1 | Deactivate module category |
1. Invoke popup menu on table. 2. Select Sort | Name menu item. 3. Select some category of modules (e.g. Database) and push chackbox in "Active" column. 4. Yes/No dialog appears and asks whether the depending modules should be disabled too. 5. Push Yes button.
|
|
|
RESULT:
The dialog disappears. All modules in category and depending modules become disabled. The status line contains "Recreating cache of installed objects of modules...done". Then the status line changes to "Turning off modules...done" |
| 2 | Activate module category |
1. Push the checkbox to activate previously deactivated (Database) category.
|
|
|
RESULT:
The status line contains "Recreating cache of installed objects of modules...done". Then the status line changes to "Turning on modules...done". Just modules from the category are enabled, all dependent modules from other categories stay disabled. |
Teardown:
|
|
Purpose:
Setup:
| # | Test case | Description |
| 1 | Uninstall single module |
1. Select Data Files | Image and press Uninstall button. 2. The dialog appears and assures whether module should be disabled. 3. Push No button. 4. Dialog disappears and nothing happends. 5. Invoke popup menu on the module and invoke Properties. 6. Remember "Module JAR" property value. 7. Select Data Files | Image again and press Uninstall button. 8. The dialog appears and assures whether module should be disabled. 9. Push Yes button.
|
|
|
RESULT:
The dialog disappears. The module disappears from the list. The Module JAR file disappears from the filesystem (check it from remembered property). |
| 2 | Uninstall module with dependent modules |
1. Select Database | Database Explorer and press Uninstall button. 2. The dialog appears and tells depending modules will be disabled. 3. Push No button. 4. Dialog disappears and nothing happends. 5. Select Database | Database Explorer and press Uninstall button. 6. The dialog appears and tells depending modules will be disabled. 7. Push Yes button.
|
|
|
RESULT:
The dialog disappears. Modules disappears form the table. Module JAR file is deleted from filesystem. Dependent modules are disabled and badged by red icon. |
Teardown:
|
|
Purpose:
Setup:
Teardown:
|
Generated: Fri Aug 12 17:01:56 CEST 2005