TS 70 Favorites Sanity

Favorites sanity test specification Test Specification for NetBeans 6.0

Author: Tomas Musil
Last update: 26.11.2008
Introduction: This test specs tests the Favorites feature. See also UI spec.

Contents


Test suite: Favorites

Purpose: To test favorites view feature
Setup: There are no specials steps to configure the NetBeans ide for testing Favorites.


  1. Default folder on Windows
    1. Start ide with fresh userdir.
    2. Open favorites tab from Window | Favorites menuitem.
    • EXPECTED RESULT: The user's "so called home folder" (e.g. C:\Documents and settings\UserXYZ) is in the favorites.
  1. Default folder on Unix
    1. Start ide with fresh userdir.
    2. Open favorites tab from Window | Favorites menuitem.
    • EXPECTED RESULT: The user's home folder is in the favorites.
  1. Add a java package to the Favorites
    1. Open some java project.
    2. Select some source package of this project
    3. From popup on selected package choose Tools | Add to Favorites.
    • EXPECTED RESULT: The folder of the package is added to the Favorites. The Favorites window is focused.
  1. Add a folder via Favorites window
    1. Invoke popup somewhere in free space of Favorites window. Click Add to favorites
    2. A file chooser is shown. Select some folder in the file chooser and click Add button.
    • EXPECTED RESULT: The folder is added to the Favorites. The Favorites window is focused.
  1. Remove from Favorites
    1. Select a item in Favorites view.
    2. Perfom Remove from favorites action from popup on selected node.
    • EXPECTED RESULT: The item is removed from Favorites view
  1. New Empty file in favorites root folder
    1. Select a root of mounted folder in Favorites (e.g. your home folder).
    2. Perform popup New | Empty file on the selected node.
    3. The New empty file dialog is shown. Type a file with a extension and then click OK button.
    • EXPECTED RESULT: New file is created in selected folder. The created file is opened in editor.
  1. New folder in root of favorites folder
    1. Select a root of mounted folder in Favorites (e.g. your home folder).
    2. Perform popup New | Folder on the selected node.
    3. The New folder dialog is shown. Type "MyFolder" and then push the OK button.
    • EXPECTED RESULT: Folder "MyFolder" is created in the selected folder.


  1. Renaming node in favorites
    1. Select popup on some node in Favorites view
    2. Choose Rename
    3. Type a new name
    • EXPECTED RESULT: See issue 57704 to know expected behaviour of rename action.


Generated: Thu Dec 14 15:18:31 CET 2006


Test suite: Templates

Purpose: To test templates feature
Setup: Start ide with fresh userdir. Templates are accessible in Tools|Templates


  1. Create new java template
    1. Select Java folder in Templates, click Add..
    2. Browse for some java file
    3. Try to move it up/down and place it to desired position
    4. close Templates
    5. Create new project, invoke New file
    • EXPECTED RESULT: Your template is present at exact position and can be created.


  1. Duplicate and rename
    1. Select some template under Java folder
    2. Duplicate it
    3. Rename it (try also rename from popup)
    4. Open it in editor
    5. Edit and save it
    • EXPECTED RESULT: You can create your new template using New file wizard.


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