TS 70 Tasklist
"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
- "Tasklist window is open"
- Start NB IDE
- EXPECTED RESULT: "Tasklist is opened. Its position is bottom right. It occupies the whole area under editor."
- "Default settings"
- Check that "All opened projects" icon is selected by default
- Check that "Default Filter" is set as filter
- Click the funnel icon in tasklist window
- 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
- Edited file only
- Focus in is an file in editor
- Click the "Show tasks for currently edited file only" icon in Tasklist window
- EXPECTED RESULT: Only tasks for opened documant are shown in tasklist
- Main Project and all that depends on it
- Set TasklistDependencies project as Main project
- 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
- "All opened projects"
- Right click a task in Tasks window
- Select "Scope > Opened projects"
- EXPECTED RESULT: Tasks for ALL opened projects are shown in tasklist
- "No main project set"
- Run > Set Main Project > None
- Click the "Main Project and all that depends on it" icon in Tasklist window
- Change the selected project in Projects window
- EXPECTED RESULT: Only tasks for selected project are shown in tasklist
- "Group tasks by category"
- 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.
- "Display tasks as list"
- Click the "Display tasks as list" icon in Tasklist window
- EXPECTED RESULT: Tasks in tasklist window are unsorted. Just a list/table of tasks.
- "Double click on result row"
- 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.
- "Enter on result row"
- 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.
- "Window > Tasks"
- Close the Tasks window
- Window > Tasks
- EXPECTED RESULT: Tasks window opens again.
- "Jump Next"
- Select a task in Tasks window
- Press "CTRL+Period"
- EXPECTED RESULT: Next row is selected and the correct line is selected in editor as well.
- "Jump Previous"
- Select a task in Tasks window
- Press "CTRL+Comma"
- EXPECTED RESULT: Previous row is selected and the correct line is selected in editor as well.
- "Show Source"
- Right click a task in Tasks window
- Select "Show Source"
- EXPECTED RESULT: Line with the task is selected in editor.
- "Sort by"
- Right click a task in Tasks window
- Select "Sort by > Description"
- EXPECTED RESULT: Rows in Task view are sorted by Description.
- "Refresh"
- Right click a task in Tasks window
- 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
- "Filter"
- Right click a task in Tasks window
- Select "Filter > Default Filter"
- EXPECTED RESULT: Tasks in the view are refreshed according to the Default Filter.
- New filter
- Open the "Task List Filter" dialog either by right click on a task "Filter > Edit" or with the Filter icon
- Click New button
- Name the filter "New Filter for testing"
- Let only TODO checked in Types
- Switch to Keywords tab
- Select the "Match any of the following"
- Add two conditions "Description" "Contains" 1, fixme 2, bug
- Press OK
- EXPECTED RESULT: only lines suitable to the filter are shown in Tasks window
- Change active filter
- right click on either a task or the Filter icon
- Choose a filter - ALL, Default, or your own one
- EXPECTED RESULT: only lines suitable to the selected filter are shown in Tasks window
- TODO Options
- Open the "Task List Filter" dialog either by right click on a task "Filter > Edit" or with the Filter icon
- Select TODO in Types tab
- Click the Options button
- EXPECTED RESULT: Options window opens on with Miscellaneous > Tasks selected
Test suite: "Options"
Purpose: ""
Setup: "New TODO pattern"
- New TODO pattern
- Tools > Options > Miscellaneous > Tasks
- Click Add button
- 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
