Testing
This page will list the tests which need to be done before the release of
Annozilla. (Like any software engineer, I write the tests last.)
Here's a rough framework:
1. Mozilla Integration
1.1 Successful installation
- From a clean Mozilla installation, Annozilla can be installed by following
the installation instructions
- From a new Mozilla user profile, Annozilla can be installed by following
the installation instructions
1.2 Sidebar appearance
- The Annozilla Sidebar appears correctly on the list of available Sidebars
1.3 Preferences panel
- The Annozilla preferences panel(s) integrate(s) correctly with the rest of the
Preferences:
- it (they) appears in the left pane as part of the tree
- the appearance of the panel(s) is consistent visually with other Mozilla
preference panels
- The Password field does not display the password as readable text
- All preference values can be changed, and changes are preserved:
- when moving between preferences panels
- when closing and re-opening the preferences window
- when shutting down and restarting Mozilla
1.4 Preference tracking
2. Viewing annotations
2.1 Displaying a list of annotations
2.2 Re-loading annotation list
2.3 'Filter by language' functionality
2.4 'Auto-load' mode
2.4.1 Mozilla window opened with Sidebar on display
2.4.2 Mozilla window opened with Sidebar not displayed, Sidebar subsequently opened
2.4.3 New tab opened
2.4.4 Tab switch
2.5 DOM icon insert
2.6 XBL icon insert
2.7 Viewing annotation bodies
3. Creating/Editing annotations
3.1 Posting annotation test
3.1.1 Annotating HTML
3.1.2 Annotating HTML frames
3.1.3 Annotating XHTML
3.1.4 Annotating SVG
3.1.5 Annotating MathML
3.1.6 Annotating GIF/JPG/PNG
3.2 Change annotation type
3.3 Edit annotation text
3.4 Delete annotation
4. Error conditions
4.1 No internet connection
4.2 Password is wrong
- When the user's password is wrong, a suitable error text is provided
4.3 Deleting annotation with replies