TS 70 ProjectsWizard
Projects Wizard Test Specification for NetBeans 7.0
Author: Petr Zajac
Updated by: Hermien Pellissier
Last update: 15 April 2011
Introduction: Test specification for Module Suite Wizard, Module Project Wizard and Library Wrapper Module Project
NOTE: This is a work in progress!
Contents |
Test suite: Modules Suite wizard
Purpose: Testing that module suites can be created with the projects wizard and that options specified in the wizard are correctly applied during project creation.
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 default (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: Testing that modules can be created with the projects wizard and that options specified in the wizard are correctly applied during project creation.
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.2//EN" "http://www.netbeans.org/dtds/filesystem-1_2.dtd
Test suite: Library Wrapper Module Wizard
Purpose: Testing that library wrappers can be created with the projects wizard and that options specified in the wizard are correctly applied during project creation.
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\configuration\data\public-packages\package contains all packages from jar library, project\configuration\data\class-path-extension\runtime-relative-path contains ext/"libname".jar and project\configuration\data\class-path-extension\binary-origin contains release/modules/ext/"libname".jar. The library jar is copied to release/modules/ext/"libname".jar in created 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.