TS 60 ProjectsWizard
NBPM Test Specification for NetBeans 6.0
Author: Petr Zajac
Last update: 07/24/2007
Introduction: Test specification for Module Suite Wizard, Module Project Wizard and Library Wrapper Module Project
Contents |
Test suite: Modules Suite wizard
Purpose:
Setup: Open the Module suite wizard from templates.
- Invalid suite name
- Type invalid project name using forbidden characters.
- EXPECTED RESULT: Preventing user from modules suite creation.
- Valid suite name
- Type Suite Name
- EXPECTED RESULT: Valid Suite is created
- Change location
- Change location (use typing and/or selecting by Browse button).
- EXPECTED RESULT: Valid Suite is created
- Set As Main project
- The Set As Main project check box is enabled at deafult (enable/disable it)
- EXPECTED RESULT: Check if the project is either Main Project (enabled) or not (disabled)
- Change platform
- Try create project with different netbeans platforms. (the platforms can be added in (Tools|NetBeans platform manager)
- EXPECTED RESULT: the platform is correctly setted. Check it in created Module suite Properties
Test suite: Module Project Wizard
Purpose:
Setup: Open Netbeans Module Project Wizard
- Invalid module name
- Type invalid project name using forbidden characters.
- EXPECTED RESULT: Preventing user from module creation.
- Valid module name
- Type valid Project Name
- EXPECTED RESULT: Valid Project created
- Change location
- Change location (use typing and/or selecting by Browse button).
- EXPECTED RESULT: Valid project is created
- Set As Main project
- The Set As Main project check box is enabled at deafult (enable/disable it)
- EXPECTED RESULT: Check if the project is either Main Project (enabled) or not (disabled)
- Standalone project
- Select standalone project.
- EXPECTED RESULT: the platform is correctly setted. Check it in created Module Properties. The Netbeans Platform combobox is enabled.
Try it for different platforms
- Add to module suite
- Select Add to module suite.
- Select a module suite in combobox or add browse it by Browse button
- EXPECTED RESULT: Module is created and added to module suite. Check it in Module suite properties.
- Valid Code Name Base
- Type valid package name to Code Name Base field
- EXPECTED RESULT: The valid project is created. It contains package with the codebase name. Check the Code Name Base in project properties
- Invalid Code Name Base
- Type invalid package name to Code Name base field
- EXPECTED RESULT: The finish button is disabled. In wizard status line is shown error message
- Module display name
- Type valid display name
- EXPECTED RESULT: The valid project created. Check the display name
- Valid localizing bundle
- Type valid localizing bundle name. Default path is in code name base package/Bundle.properties.
- EXPECTED RESULT: The valid project created. Check the Bundle.properties file
- XML layer
- Type valid XML layer file name. The deafault value is code name base package/layer.xml
- EXPECTED RESULT: The valid project created. Check the layer.xml file. DOCTYPE is:
DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd
Test suite: Librart Wrapper Module Wizard
Purpose:
Setup: Open Netbeans Library Wrapper Module Project Wizard
- Invalid library file name
- Type invalid library file name
- EXPECTED RESULT: The Finish and Next button are disabled.
- Valid library file name
- Type valid library jar file name
- EXPECTED RESULT:
- The valid Library is created.
- Check xml tags in the project.xml file (Project Metadata in ImportantFiles) :
- * project
- Invalid licence file
- Type invalid lisence file to license field.
- EXPECTED RESULT: The Next button is disabled and error message is shown
- Valid license file
- Browse valid licence file
- EXPECTED RESULT: New project was created.Check the licence in project properties (build
- Name location and Basic module configuration
- Test it in the same way as in Module project.
- EXPECTED RESULT: The result is the same as in Module project.
Generated: Tue Dec 19 16:34:58 CET 2006

