Вы находитесь на странице: 1из 3

Case study 1: Finding defects

As a software tester, what do you do? Of course, testing the software, you would
say………Okay, can you find out defects on the page shown below?

Case study 2: Draw control flow graph

The following is a unit that implements a binary search. It decides if a particular


value of x occurs in the sorted integer array v. The elements of v are sorted in
increasing order. The unit returns the position (a value between 0 and n _1 if x
occurs in v, and 1 if not. Draw a control flow graph for the example, and clearly
label each node to show its correspondence to a statement.

int binsearch (int x,int v[], int n)


{
int low, high, mid;
low _ 0;
high _ n-1;
while (low <_ high) {
mid _ (low_high)/2
if (x < v[mid]
high _ mid&ndash;1;
else if (x > v[mid])
low _ mid_ 1;
else /* found match*/
return mid;
}
return–1; /* no match*/
}

Case study 3: Decision tables

Case study 4: State based Testing

Case study 5: System Testing

Select from various type of System testing those you would perform for the
software described below. For each category you choose
(i) specify the test objectives, and
(ii) give a general description of the tests you would develop and tools you
would need.
You may make any assumptions related to system characteristics that are needed
to support your answers.

An on-line fast food restaurant system. The system reads customer orders, relays
orders to the kitchen, calculates the customer’s bill, and gives change. It also
maintains inventory information. Each wait-person has a terminal. Only authorized
wait-persons and a system administrator can access the system.
Case study 5: Configuration Testing

An air-traffic control system can have one or many users. It interfaces with many
hardware devices such as displays, radar detectors, and communications devices.
This system can occur in a variety of configurations. Describe how you would
carry out configuration tests on this system.

Case study 6: Cause–and effect graph and Decision tables

Suppose a program allowed a user to search for part name in a specific group of
part records. The user inputs the record number that is believed to hold the part,
and the part name to search for. The program will inform the user if the record
number is within the legal range of allowed record numbers (1–1000). If it is not,
then an error message will be issued—‘‘record number is out of range.’’ If the
record number is within the range, and the part is found, the program will return
‘‘part found,’’ else it will report ‘‘part not found.’’ Identify the input and output
conditions, i.e., causes and effects. Draw a ‘‘cause-and-effect’’ graph and a
decision table for this specification. From the table generate a set of test inputs and
expected outputs.

Case study 7: Develop a Test Plan

For the attached document “Assignment –Test Plan” ,write a test plan for the
scenario-APPENDIX II

Вам также может понравиться