Академический Документы
Профессиональный Документы
Культура Документы
2. Testing strategy
The aim of the project is to implement a new online movie ticketing system
that enable:
Our testing team will only conduct the unit testing and block testing due to
the limitation of time.
For unit test, we will employ both static and dynamic testing techniques.
Our basic component is the .java and .jsp file. Since the inspection and
compilation has already been done by programmer, we will only do the
walkthrough for static testing. After that, we will do the white-box testing.
The test cases will be derived from basis paths. So they will not be depicted
here. Our test completion criteria is the basic function of the module and
satisfaction for the requirement.
Forthe high level testing, we divide our program into two major block-
customer interface and administrator interface. Instead of the focus on
technique aspects, our main concern is the micro-behavior of each block.
The black box testing will be employed here. We will use equivalence
partitioning, boundary value and logic-based testing techniques for Test
Data Selection.
5. Testing environment
5.1 Hardware
Windows 2000
Windows XP
Testing procedure:
Client’s requirement 1: “The user logs in by giving his credit card ID and
his password. He selects whether he wants to book some
his tickets or cancel his tickets which he had booked earlier. If he wants to
cancel then it’s possible only if two or more hours are left for the movie. The
system has tovalidate all this.”
Client objects Designer objects
Credit card ID Credit_Card (Database)
Password Password (Database)
Tickets NA
Client services Designer services
Login NA
Book forward (Booking)
Cancel forward (Cancel)
Validate forward (Validate)
Testing procedure:
We adopt white box testing in this stage. This testing was carried out on
individual which is the .java file that programmer have designed.
we did the walkthrough of the whole program. All the names of the variables are
scrutinized to make sure that they are truly reflective of the element they
represent. Some syntax errors and logic errors were captured in this phase.
Component was checked and the flow graph wad constructed from the
analysis. The test cases was derived from the path path.
Graph-Based Testing
Administrator Block:
Test Cases and Results:
Login module
Test Data Selection method: Boundary Value Analysis (Note: only the input
ticket price is tested using this method. The ticket price should be in the
range 4 to 15)
Classes:
(valid input)
Start time:2.30 Check if the movie Movie was still N
with the duration edited wrongly
End time:9.30 higher than the
correct one will
(invalid input) generate error
message
Start time:2.30 Check if the movie Movie was still N
with the duration edited wrongly
End time:3.30 lowerr than the correct
one will generate error
(invalid input) message
Add customer, remove customer, and edit customer properties
modules's test cases was derived similarly
Customer Block
8. References