2.1 Ant / External Tools Test Plan
Testing will cover the functional areas in the following list on these platforms/ Ant versions
| |
Ant 1.4.1 |
Ant 1.5.1 |
Ant 1.5.2 |
| Windows 2000 |
|
|
|
| Windows XP |
|
|
|
| Mac OSX |
|
|
|
| Linux |
|
|
|
While testing, ensure that keyboard navigation (is available and) works, in
addition to using the mouse. Ensure that keyboard accelerators are available
for each menu item, and that conflicts are not present. Also try assigning alternate
keybindings to applicable actions. File a bug when something does not work. When a test can be automated and is not part of our test suite, add a JUnit test to the test suite.
External Tools
Program Launch Configurations
- creation with reasonable defaults
- workspace and file system locations
- working directories both within workspace and in the file system
- arguments with variables and without (testing error reporting during variable expansion)
- run in background / foreground
- refresh resources (including / excluding sub-folders) with all of the scope variables:
- working_set
- container
- project
- resource
- workspace
- shared / local
- with / without perspective switching
- in the favorites menu
- apply and revert buttons enable / disable and work correctly
External Tools Builders
- migration from 2.0 (with and without prompting)
- Java projects and simple projects
- add / remove (ensure cleanup on disk)
- rename on creation and as an edit (ensure cleanup on disk)
- executing an Ant build and program
- creation with reasonable defaults
- workspace and file system locations
- working directories both within workspace and in the file system
- arguments with variables and without (testing error reporting during variable expansion)
- running in background / foreground
- toggling capturing Ant build output
- refreshing resources (including / excluding sub-folders) with all of the scope variables:
- working_set
- container
- project
- resource
- workspace
- all three build types
- ensure correct order with multiple builders
Ant
Ant Launch Configurations
- creation with reasonable defaults
- workspace and file system locations
- base directories both within workspace and in the file system
- arguments with variables and without (testing error reporting during variable expansion)
- run in background / foreground
- toggle capture output
- refresh resources (including / excluding sub-folders) with all of the scope variables:
- working_set
- container
- project
- resource
- workspace
- vary number of targets selected (none, all)
- rendering of targets in the targets tab
- shared / local
- with / without perspective switching
- in the favorites menu
- apply and revert buttons enable / disable and work correctly
Ant Builds
- profile for memory leakage
- modify classpath globally and on a per configuration basis:
- correct handling of error states (missing required JARs)
- add folders instead of and with JARs
- order of classpath is honored
- with "ANT_HOME" set globally and on a per configuration basis
- custom tasks
- defined in the Ant preferences
- defined using the extension points
- defined in the build file
- added from JARs and folders
- custom types
- defined in the Ant preferences
- defined using the extension points
- defined in the build file
- added from JARs and folders
- properties
- defined in the Ant preferences
- defined in the Ant preferences using property files
- defined globally and on a per configuration basis with correct precedence
- console hyperlinking for tasks and for special tasks like javac (using various compilers: jikes, Sun and JDT)
- console coloring: error, warning, info, verbose, debug
- initiatied from "Run Ant..."
- initiatied from "Run As > Ant Build "
test all for "-find " emulation (names set in Ant preferences)
- selection set to active editor
- selection set to outliner
- selection set to Package Explorer / Navigator
- attempt simultaneous background builds
Ant Editor
- correct syntax coloring - multi-line, single line
- modify syntax coloring using the Ant Editor preferences
- modify the Ant Editor appearance using the Ant Editor preferences
- modify the Ant Editor annotations using the Ant Editor preferences
- ensure that Ant Editor preferences defaults are restored correctly
- content assist in the various contexts (check descriptions as well)
Ant Editor Outline
- valid build files, build files with external entities, and build files with syntax errors
- correct selection in editor
- "Open With" menu for external entities
- Icons are correct for contents (in error and non-error states)
- " Show In..." works as expected
Ant View
- toolbar actions enable / disable correct based on selection and contents of view
- context menu actions enable / disable correct based on selection and contents of view
- add a single build file
- add build files using search
- build file with errors with the option to add files with error toggled on and off
- using wildcards
- using working sets
- "Show In..." works as expected
- icons are correct for contents (in error and non-error states)
- status line text is correct and helpful for selection
- remove build file(s)
- contents are restored correctly after exiting and restarting workspace