Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2. 2.References
o CPE471 Specification
o Lab Statement
o User Guide
o Programmer Guide
o M68K specs
o Test Plan class notes
2. 3. INTRODUCTION
This is the Draft Test Plan for the IP forwarding Engine with direct reference project.
This plan will address only those issues
1. To find the outgoing port number of a given IP address.
2. To ensure that the project perform its aim correctly.
And elements related to object code execution.
The primary focus of this plan is to ensure that the IPFE.DR provides the expected result that
refers to the next port in the network.
The project will have three levels of testing, Unit, System/Integration and Acceptance.
The details for each level are addressed in the approach section and will be further
defined in section eight.
The estimated time line for this project is very aggressive (six weeks).
2. 4. TEST ITEMS
1. Visual studio2008.
The application that used to Test the Program is visual studio2008 tools that
provides a debugging environment to debug and test the code very
accurately for each individual component and to perform the unit test.
2. 6. FEATURES TO BE TESTED
Ensure that the K_value which define the prefix length within the limited range.
Empty input File.
Invalid Character in the given input file.
Invalid Port Number out of (0-2^16).
Invalid Prefix that is the given prefix not in the range (0-2^K).
Invalid IP address out the range($0000-0000 __$ FFFF-FFFF)
Invalid Significant Mask out the range (8-24) bits.
The testing for the Simulator project will be conducted of Unit, Integration, System and
Acceptance test levels.
UNIT Testing
Check input file: check if the input file in a valid format or not.
Open the
input file and
check for
error
Check if error
was found.
Case 2: invalid character within input file.
Test case Test Input Expected Error Log Corrective
specifications Output action
100728832
invalid Enter 16 1 List of Error line [1] The user
Check if error
was found.
Case 3: out range IP address.
Test case Test Input Expected Error Log Corrective
specifications Output action
5294967295
out Enter 16 1 List of Error line [0] The user
Check if error
was found.
Case 4: out range Port number.
Test case Test Input Expecte Error Corrective
specifications d Output Log action
100859904 18
out Enter 66666 List of Error The user
Check if error
was found.
Case 5: invalid Mask.
Test case Test Input Expecte Error Corrective
specifications d Output Log action
50331648 8 1
Invalid Enter 100728832 16 1 List of Error The user
Check if error
was found.
Case 6: validate indexing and subtables:
The run windows above shows when you create the right sub tables and you try
to display any one it will be shown in the right side list box , after checking that
the input file is valid and now what if the k value , prefix one’s count are
invalid?
3. All Errors:
Input file :
5033d648 8 1
5294967295 16 1
100990976 7 1
100w94368 22 1
100859904 18 66666
100859904 18 -1
10118s584 20 1
List of Errors:
SYSTEM Testing
After checking errors the Final system now ready and guarantees to any IP
outgoing Port number within 00.00.00 – 00.00.00.001 seconds.
2. 9. RESPONSIBILITIES
3. 10. SCHEDULE
T1: Writing the first draft of UG and PG and paper.
T2: starting design, suggest algorithm and possible errors and 2nd UD and PG.
T3: start coding for the 1st and 2nd’level indexing, and final Paper draft.
T4: continue coding to find the final result (port number) and first test plan.
T4: Final copy of the software and final UG & PG .also final Paper and test
plan and finish the simulation and experience part.
T1
T2
T3
T4
T5