BlackBoxUnittesting - application runs well. 2. Test Data,...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Black Box Unit testing
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Module ID: ___this testing is applied for all modules______ Program ID: __ none_____ 1. Module Overview Find. Finds a value in the tree Insert. Inserts a value in the tree getSuccessor. Get the successor value to balance the tree when a value is deleted delete.Delete a value of the tree. Displaytree. Display tree graphic. 1.1 Inputs to Module The inputs to the modules under test are values based on a boundary analysis method. The following test cases will be valid for all program units on test or modules. Since all of them use the same input values, which are 32 bit integer which have a range from -2,147,483,648 to 2,147,483,647. 1.2 Outputs from Module The outputs from the module under test are not specific outputs , the only issue that we are verifying here is that the modules complete their operation properly. We expected that the
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: application runs well. 2. Test Data, Positive and Negative Cases Test cases to be exercised in order to verify modules behavior, the expected correct result and the actual outcome. Input data Expected Output Actual Output 23 Tree change due to input and function The operation was completed properly-2,147,483,648 Tree change due to input and function The operation was completed properly 2,147,483,647 Tree change due to input and function The operation was completed properly-6,147,483,648 Java Error, integer value is out range Java Error, integer value is out range 5,147,483,647 Java Error, integer value is out range Java Error, integer value is out range 3. Test Tools The test tools used for unit testing is a PC running a java compiler on DOS and tested manually. 2,147,483,647-2,147,483,648...
View Full Document

This document was uploaded on 02/01/2010.

Page1 / 3

BlackBoxUnittesting - application runs well. 2. Test Data,...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online