Object Oriented Programs Session 11: Software Engineering Aspects

What is Software Engineering?

Some techniques

In listings:


Software Testing

Since exhaustive testing is impossible, test wisely (quality not quantity):
- normal cases (valid)
- extremes (limits or range testing)
- exceptions (unusual but valid)
- major logic paths
- invalid data; does program still produce a meaningful result (graceful degradation) ?

Types of Testing

 

User acceptance testing, i.e. does it do what the user specified? is the focus of your test plan in assignment work. Some aspects of usability, integration and system testing are appropriate.

Check list for Testing

Testing (O O style)

During development test each component (class) separately test application progressively as components are added final test plan shows complete testing of all application functions in terms of:
Logic testing of Graphical Interface Behaviour
- Menus: Do they work correctly? Are they disabled and enabled at appropriate times?
- Windows and Dialog Boxes: Do they have the right parts (close box, scroll bars etc) ? Are they working correctly (zooming in and out, closing, updating)?
- Buttons and other controls: Do they get events? Do they respond correctly? Do they dim (disable) or enable when appropriate?
Input and output - each specific test will test input or output functions to prove what happens with
- valid data
- extreme data
- exceptional data
- invalid data
Mary Martin | Dept CS&CE, Bendigo ©2005