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 integrates correctly with the rest of the
Preferences:
- it appears in the left pane as part of the tree
- the appearance of the panel is consistent visually with other Mozilla
Greference 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 'Filter by language' functionality
2.3 'Auto-load' mode
2.4 Viewing annotation bodies
3. Creating/Editing annotations
3.1 Posting annotation test
3.2 Change annotation type [future]
3.3 Edit annotation text [future[
3.4 Delete annotation [future]
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