TS 70 ProjectsWizard

Revision as of 12:08, 15 April 2011 by Mienamoo (Talk | contribs)

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.

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

  1. Invalid module name
    1. Type invalid project name using forbidden characters.
    • EXPECTED RESULT: Preventing user from module creation.
  2. Valid module name
    1. Type valid Project Name
    • EXPECTED RESULT: Valid Project created
  3. Change location
    1. Change location (use typing and/or selecting by Browse button).
    • EXPECTED RESULT: Valid project is created
  4. Set As Main project
    1. 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)
  5. Standalone project
    1. 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.
  6. Add to module suite
    1. 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.
  7. Valid Code Name Base
    1. 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
  8. Invalid Code Name Base
    1. Type invalid package name to Code Name base field
    • EXPECTED RESULT: The finish button is disabled. In wizard status line is shown error message
  9. Module display name
    1. Type valid display name
    • EXPECTED RESULT: The valid project created. Check the display name
  10. Valid localizing bundle
    1. 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
  11. XML layer
    1. Type valid XML layer file name. The deafault value is code name base package/layer.xml

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

  1. Invalid library file name
    1. Type invalid library file name
    • EXPECTED RESULT: The Finish and Next button are disabled.
  2. Valid library file name
    1. 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.
  3. Invalid licence file
    1. Type invalid lisence file to license field.
    • EXPECTED RESULT: The Next button is disabled and error message is shown
  4. Valid license file
    1. Browse valid licence file
    • EXPECTED RESULT: New project was created.Check the licence in project properties (build
  5. Name location and Basic module configuration
    1. Test it in the same way as in Module project.
    • EXPECTED RESULT: The result is the same as in Module project.
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo