AJDE Test Script
AJBrowser Script
Steps 3-6 should be re-tested in JBuilder and Forte seperately.
- launch browser & manipulate config file set
- with no config file passed as command line parameter: error message
- open config file by browsing filesystem
- browse and add
- close config
- close config: silent fail
- compile: error message
- with multiple config files passed as command line parameters
- a file specified by its full path
- a file specified by its relative path
- non ".lst" file: file not added to configs list
- a file with an incorrect suffix: not added to list
- run
- with no class selected: error dialog
- with a non-main class selected: error dialog
- code that throws an exception: error dialog
- with a correct main class selected
- repeat using the "run in other process" menu or button variant
- compile
- no config file present: error message
- non-existing config file: error message
- invalid config file: error dialog
- incorrect entry: error message seeks to
corresponding line
- non-existing file: error message seeks to
corresponding line
- compile error-generating code: compiler error, failed build reported
- seek to compiler message
- recompile: messages pane disappears
- compile warning-generating code: compiler warning, successful build
reported
- compile and generate compiler error: error message
- compile and generate OutOfMemoryError: error
message
- compile and abort: aborted build reported
- compile valid code: successful build reported
- browse structure (expand this section)
- test modes
- global view
- file view
- split views
- expand/collapse tree levels using slider
- close and re-launch browser: previously saved structure tree should be
present
- edit ".lst" file
- select for editing and verify integrity of package/file structure
- select/deselect nodes and save
- verify saves committed to disk
- break ".lst" file on disk: error dialog
- coverage: when compilation breaks
- coverage: when aspectjrt.jar not present on
classpath
- user preferences
- set options in "Properties" window
- close and re-launch browser
- verify properties
- error handler
- verify that the error handler shows stack trace
AJDE/JBuilder
- launch
- AJDE startup message appears
- no AJDE listeners are enabled until AJDE started (whitebox)
- make new project
- *any* combination of parameters to the new project wizard should work
- add packages
- add single files
- start AJDE
- repeat AJBrowser tests
- inline annotations
- line with a single annotation
- line with multiple annotations
AJDE/Forte
- launch
- AJDE startup message appears
- no AJDE listeners are enabled until AJDE started (whitebox)
- make new project
- *any* combination of parameters to the new project wizard should work
- add packages
- add single files
- start AJDE
- repeat AJBrowser tests