TS 70 Tasklist

Revision as of 15:19, 13 September 2013 by Skygo (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)

"Tasklist" Test Specification for "NetBeans 7.0"

Author: "Lukas Hasik"
Version: "1.1"
Last update: "5/12/2008"
Introduction: "Tasklist is part of the NetBeans distribution and its window is visible by default. User can see list of "tasks" in the window."
Comments: ""

Next version: TS_74_Tasklist.
Previous version: TS_65_Tasklist

Contents


Test suite: "Default settings"

Purpose: Check the default settings of the task list after start of IDE with fresh user dir
Setup: Start IDE with fresh userdir, create a new java project

  1. "Tasklist window is open"
    1. Start NB IDE
    • EXPECTED RESULT: "Tasklist is opened. Its position is bottom right. It occupies the whole area under editor."
  2. "Default settings"
    1. Check that "All opened projects" icon is selected by default
    2. Check that "Default Filter" is set as filter
    3. Click the funnel icon in tasklist window
    4. Choose Edit
    • EXPECTED RESULT: Default Filter -> Types == 1, Java Errors 2, RHTML, GSP, JavaScript, JSP, ... 3, TODO


Test suite: "Show me results"

Purpose: ""
Setup: open attached projects TasklistScenarios, TasklistDependencies, TasklistLibraryProject in IDE. Open following files TasklistScenarios.tasklistscenarios.ClazzWithErrors, TasklistLibraryProject.library.LibraryClazz, TasklistDependencies.tasklistdependencies.Main

  1. Edited file only
    1. Focus in is an file in editor
    2. Click the "Show tasks for currently edited file only" icon in Tasklist window
    • EXPECTED RESULT: Only tasks for opened documant are shown in tasklist
  1. Main Project and all that depends on it
    1. Set TasklistDependencies project as Main project
    2. Click the "Main Project and all that depends on it" icon in Tasklist window
    • EXPECTED RESULT: Only tasks for TasklistDependencies, TasklistLibraryProject projects are shown in tasklist
  1. "All opened projects"
    1. Right click a task in Tasks window
    2. Select "Scope > Opened projects"
    • EXPECTED RESULT: Tasks for ALL opened projects are shown in tasklist
  1. "No main project set"
    1. Run > Set Main Project > None
    2. Click the "Main Project and all that depends on it" icon in Tasklist window
    3. Change the selected project in Projects window
    • EXPECTED RESULT: Only tasks for selected project are shown in tasklist
  1. "Group tasks by category"
    1. Click the "Group tasks by category" icon in Tasklist window
    • EXPECTED RESULT: Tasks in tasklist window are sorted in categories - e.g. Error, ToDo etc.
  1. "Display tasks as list"
    1. Click the "Display tasks as list" icon in Tasklist window
    • EXPECTED RESULT: Tasks in tasklist window are unsorted. Just a list/table of tasks.
  1. "Double click on result row"
    1. Double click on a row with error/task in tasklist window
    • EXPECTED RESULT: Error/Task line opens in editor. Focus is in editor on the line with error. User can start fixing/writing immediately.
  1. "Enter on result row"
    1. Press ENTER on a row with error/task in tasklist window
    • EXPECTED RESULT: Error/Task line opens in editor. Focus is in editor on the line with error. User can start fixing/writing immediately.
  1. "Window > Tasks"
    1. Close the Tasks window
    2. Window > Tasks
    • EXPECTED RESULT: Tasks window opens again.
  1. "Jump Next"
    1. Select a task in Tasks window
    2. Press "CTRL+Period"
    • EXPECTED RESULT: Next row is selected and the correct line is selected in editor as well.
  1. "Jump Previous"
    1. Select a task in Tasks window
    2. Press "CTRL+Comma"
    • EXPECTED RESULT: Previous row is selected and the correct line is selected in editor as well.
  1. "Show Source"
    1. Right click a task in Tasks window
    2. Select "Show Source"
    • EXPECTED RESULT: Line with the task is selected in editor.
  1. "Sort by"
    1. Right click a task in Tasks window
    2. Select "Sort by > Description"
    • EXPECTED RESULT: Rows in Task view are sorted by Description.
  1. "Refresh"
    1. Right click a task in Tasks window
    2. Select "Refresh"
    • EXPECTED RESULT: Tasks in the view are refreshed according to the latest sources.


Test suite: "Filters"

Purpose: "Test the filters in tasks"
Setup: Have opened a project. Be sure that there are are some //TODO comments that contains "fixme" or "bug" word

  1. "Filter"
    1. Right click a task in Tasks window
    2. Select "Filter > Default Filter"
    • EXPECTED RESULT: Tasks in the view are refreshed according to the Default Filter.
  1. New filter
    1. Open the "Task List Filter" dialog either by right click on a task "Filter > Edit" or with the Filter icon
    2. Click New button
    3. Name the filter "New Filter for testing"
    4. Let only TODO checked in Types
    5. Switch to Keywords tab
    6. Select the "Match any of the following"
    7. Add two conditions "Description" "Contains" 1, fixme 2, bug
    8. Press OK
    • EXPECTED RESULT: only lines suitable to the filter are shown in Tasks window
  1. Change active filter
    1. right click on either a task or the Filter icon
    2. Choose a filter - ALL, Default, or your own one
    • EXPECTED RESULT: only lines suitable to the selected filter are shown in Tasks window
  1. TODO Options
    1. Open the "Task List Filter" dialog either by right click on a task "Filter > Edit" or with the Filter icon
    2. Select TODO in Types tab
    3. Click the Options button
    • EXPECTED RESULT: Options window opens on with Miscellaneous > Tasks selected


Test suite: "Options"

Purpose: ""
Setup: "New TODO pattern"

  1. New TODO pattern
    1. Tools > Options > Miscellaneous > Tasks
    2. Click Add button
    3. Add your pattern - "MUJ"
    • EXPECTED RESULT: New ToDo Pattern is created. For a filter that uses TODO tyoes it shows also TODOs suitable to your pattern
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