CSE1IS Information Systems
Week 12 Lecture 1
System Testing

S.C.&R. Chapter 9, pp.430-433

1. Systems Testing Overview:

Effective and comprehensive systems and software testing is a critical activity in IS development. It is through testing that you demonstrate the reliability and accuracy of a system. The objective is to deliver reliable and high quality software. We will concentrate first on software testing. Obviously this is also an important topic in any software development subject, so there may be some overlap between what follows here and what you may be told in other units within your course.

When developing a test plan and running the test cases, you will be undertaking the following activities:  

  1.      develop test cases/scenarios
  2.      run the tests
  3.      report the errors
  4.      correct the errors
  5.      estimate (quantify) the reliability of the software

The philosophy is to attempt to 'crash' the software!

The test cases should cover as many scenarios as possible.

Test cases and test data should be prepared for:

2. White Box Versus Black Box Testing:

These terms refer to the testing of software. White box testing focuses on testing internal logic whereas black box testing focuses on testing output against input.

White Box testing

..........
DO WHILE
 ..........
 IF .... THEN

    etc.  

You would test each internal logical structure in a program module.
Equivalent test cases should reduce the number of testing cases.

Black Box Testing

input ---->   [program module]  -----> output  

Test the expected and actual output for each program module.

3. Testing Strategies:

There are normally four main strategies used in testing Outline of application modules for testing

3.1 Module testing:

3.2 Integration testing:

A top-down integration or bottom-up integration approach is possible.

The top-down approach

The bottom up approach

3.3 System testing:

3.4 Acceptance testing:

4. Example Test Plan:

No

Reason

Data Used

Expected Result

Actual Result

1.

Check if Add Student button works.

None

Blank fields with Active tick box ticked.
Add and Back button enabled.

As expected

2.

Check if student can be added correctly.

Student ID : 16912639
First Name: Fred
Last Name : Smith
Year Level : 3

Message box “Student has been added” prompt.
Student is added to the student table.

As expected

3.

Check if student details can be edited.

Student ID: 16912333
Year Level: 2

Message box “Students Details had been updated.” prompt.
Student details are updated in the student table.

As expected

4.
Check if studentID field accepts illegal chars. Student ID: 1q11 Message box “Illegal student ID - must contain exactly 8 digits 0-9.” As expected

5.

Check if comboBox search works.

Select "Smith, Fred " from comboBox

Students listed in alpha order in comboBox for fast, typed selection. Selected student details are shown on screen.

As expected

References:


Copyright © 2006 L. Staehr, B. Choi, C. Cope, J. McCullagh, P. Somerville, C. Matthews, B. Retallick

NOTE: this webpage has not been brought up to WCAG 1.0 standard nor does it contain validated HTML