FeaturesPluginsDocs & SupportCommunityPartners

NBPM Test Specification for NetBeans 4.2

Author: Petr Zajac
Last update: 08/01/2005
Introduction: Test specification for Module Suite Wizard, Module Project Wizard and Library Wrapper Module Project

Table of Contents

Test suite: Modules Suite wizard

Purpose:
Setup: Open the Module suite wizard from templates.

#Test case [automated]Description
1Invalid suite name1. Type invalid project name using forbidden characters.
EXPECTED RESULT: Preventing user from modules suite creation.
2Valid suite name1. Type Suite Name
EXPECTED RESULT: Valid Suite is created
3Change location1. Change location (use typing and/or selecting by Browse button).
EXPECTED RESULT: Valid Suite is created
4Set As Main project1. 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)
5Change platform1. 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

#Test case [automated]Description
1Invalid module name1. Type invalid project name using forbidden characters.
EXPECTED RESULT: Preventing user from module creation.
2Valid module name1. Type valid Project Name
EXPECTED RESULT: Valid Project created
3Change location1. Change location (use typing and/or selecting by Browse button).
EXPECTED RESULT: Valid project is created
4Set As Main project1. 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)
5Standalone project1. 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
6Add to module suite1. Select Add to module suite.
2. 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.
7Valid Code Name Base1. 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
8Invalid Code Name Base1. Type invalid package name to Code Name base field
EXPECTED RESULT: The finish button is disabled. In wizard status line is shown error message
9Module display name1. Type valid display name
EXPECTED RESULT: The valid project created. Check the display name
10Valid localizing bundle1. 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
11XML layer1. 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

#Test case [automated]Description
1Invalid library file name1. Type invalid library file name
EXPECTED RESULT: The Finish and Next button are disabled.
2Valid library file name1. 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 librar project|configuration|data|class-path-extension|runtime-relative-path contains ext/"libname".jar project|configuration|data|class-path-extension|binary-origin contains release/modules/ext/"libname".jar Check if the library jar is copied to release/modules/ext/"libname".jar in created project.
3Invalid licence file1. Type invalid lisence file to license field.
EXPECTED RESULT: The Next button is disabled and error message is shown
4Valid license file1. Browse valid licence file
EXPECTED RESULT: New project was created.Check the licence in project properties (build|packaging panel).
5Name location and Basic module configuration1. Test it in the same way as in Module project.
EXPECTED RESULT: The result is the same as in Module project.



Generated: Thu Sep 15 18:02:48 CEST 2005
Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Virtual Box - full virtualizer  Open ESB - The Open Enterprise Service Bus Powered by