Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Checklist for design, requirements specification and implementation

Table of Contents
minLevel1
maxLevel7

General Principles of Unexpected Events

...

User Awareness

The reason for a system being built is primarily to replace manual work and make life more efficient. This means a system must be

  • predictable

  • handle events gracefully

  • tell users exactly what is going on and what is expected

  • report successful outcomes

  • report unsuccessful outcomes with reasons

  • report uncontrolled errors in a graceful manner

Handling Unexpected Events

Unexpected events must be dealt with properly. This means that

  • every error which could happen is accounted for as far as possible

...

  • any error which occurs which

...

  • has not been controlled can be shown to the user

...

  • in a controlled way

Error Trapping

Error trapping has to be taken seriously for the smooth-running and predictable behaviour of an application. This means that anything Anything which is done as part of a calculation where user-supplied values are involved, has to have the information validated properly and any unexpected calculation results relayed to the user.

...

  • Product size field must be validated to make sure it has three values, separated by “x”

    • If the values are not separated by “x” then the product dimensions cannot be shown, but any screen or document should still be produced without them.

  • A failure in the product size validation should not cause a failure in the whole system

Error Categorisation

What should stop an email being sent?

...