Inf 43: Introduction to Software Engineering

Spring, 2016
Assignment 2: Testing
Due: Friday, May 20, 2016, 11:55pm


In this assignment you will design Black Box test cases.

The homework is due on Friday, May 20, 2016, at 11:55 pm, uploaded as two Word files to the EEE DropBox "Inf 43 - Hw 2".

ASSIGNMENT DETAILS – PART 1

You will design test cases for SubDo's capability to compute match factors, which are used to rank substitute teachers for a particular absent teacher. This capability is fully defined in the "SubDo Updated Requirements Extract" below. Focus your attention on this particular aspect of SubDo. Since the SubDo system hasn't been implemented, you won't actually run the test cases. Make sure you do not test the user interface and its error handling capabilities, or SubDo's other functionality, such as contacting a substitute teacher.

You will follow the equivalence class partitioning approach to black box testing. Your homework should start from the Homework 2 template and should contain two (was "several") copies of the testing matrix. You are welcome to make minor changes to the visual look of the testing matrix, but you must retain the basic structure. For this part of the assignment, you will not fill in the "Result from Execution" column. The name of the file you upload for Part 1 should be SubDo.doc (or .docx).

Your input to a test case will often be one or more regular teachers, substitute teachers, and schools. You should provide specific input data. This data can go in the second column of the matrix, or in that column you can refer to information you've put in the "Notes to help understand" section.

Make sure you include and describe two distinct bases for dividing the set of all inputs into subsets or subdomains.

SubDo Updated Requirements Extract

SubDo stores the following information about each teacher: SubDo stores the following information about each substitute: SubDo stores the following information about each school:

The following section describes the rules SubDo follows in deciding the order in which to contact substitutes when a vacancy due to a teacher absence occurs. Substitutes are selected for a vacancy according to the following rules.

Vacancies for the current date are considered in random order when contacting substitutes. For each vacancy, substitutes are ranked by match factor, and the highest ranking substitute is called. If he or she does not accept the position, the process continues with the next highest ranking substitute, until one accepts or time runs out or the list is exhausted.

 

ASSIGNMENT DETAILS – PART 2

You will design test cases for the search functionality on the web page http://www.uci.edu/. Unfortunately, we do not have access to a Requirements Document for this functionality, so you will have to intuit the requirements based on your own experiences. Focus your attention on this one aspect of www.uci.edu. Make sure you do not test other aspects of the web page's user interface, such as the drop down boxes.

You will follow the equivalence class partitioning approach to black box testing. Your homework should start from the Homework 2 template and should contain two (was "several") copies of the testing matrix. You are welcome to make minor changes to the visual look of the testing matrix, but you must retain the basic structure. For this part of the assignment, you should fill in the "Result from Execution" column. The name of the file you upload for Part 2 should be UCI.doc (or .docx).

Make sure you include and describe two distinct bases for dividing the set of all inputs into subset or subdomains. Make sure to actually run your test cases and note the results in the rightmost column.

 

ALERT

You can discuss this assignment with other students in the class, but do not look at anyone else's work, and don't allow anyone else to look at yours. In past years more cheating cases have been occurred (or perhaps, discovered) in homework 2 than in the other two homeworks.