Sponsored Content
Full Discussion: testing
Top Forums UNIX for Advanced & Expert Users testing Post 302083135 by thestevew on Friday 4th of August 2006 08:04:15 AM
Old 08-04-2006
Quote:
Originally Posted by areef4u
what is the difference between white box and black box testing?
A few seconds with a search engine would have answered this for you! However (on the understanding that this isn't homework),
White box: testing when you know how the code is supposed to work. Tests are designed to prove that all of the code works and should make sure that every line of code is executed (eg programmer testing)
Black box: testing where you only know the required inputs and outputs and design tests to prove that the outputs are correct for, in theory, all possible inputs without any knowledge of how the code does it (eg user testing)
 

3 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

testing

what does one mean in the context of testing... UNIT TESTING & INITIAL LEVEL OF MENU TESTING (2 Replies)
Discussion started by: areef4u
2 Replies

2. UNIX for Dummies Questions & Answers

testing

first time use (0 Replies)
Discussion started by: lcharles
0 Replies

3. Shell Programming and Scripting

Ip up/down testing

#!/bin/bash ip=$1 if ; then echo "U must enter ip as argument: $0 " exit 1 fi testip=`echo $ip |grep -E "^((||1{2}|2|25)){3}(||1{2}|2|25)$"` if ; then echo "Wrong ip adress" exit 2 fi ping -c 2 $ip 2>&1 >/dev/null if ; then echo "$ip is UP" else echo "$ip is... (2 Replies)
Discussion started by: aco4u
2 Replies
Box(3I) 						    InterViews Reference Manual 						   Box(3I)

NAME
Box, HBox, VBox - tile interactors in a box SYNOPSIS
#include <InterViews/box.h> DESCRIPTION
A box is a scene of interactors that are tiled side-by-side in the available space. Interactors are placed left-to-right in a horizontal box, and top-to-bottom in a vertical box. A box will try to stretch or shrink the interactors inside it to fit the available space. The natural size of a box is the sum of its ele- ments along the major axis, and the maximum along its minor axis. A box's stretchability (shrinkability) is the sum of its elements along its major axis and the minimum of its elements along its minor axis. PUBLIC OPERATIONS
HBox(...) VBox(...) Create a new box. Zero to seven interactors may be passed as arguments; the interactors are inserted into the box. void Align(Alignment) Set the alignment mode that the box uses to place elements along the minor axis. The default alignment for an hbox is Bottom; other choices are Top and Center. The default alignment for a vbox is Left; other choices are Right and Center. void Insert(Interactor*) Append an interactor to the box. Components of an hbox (vbox) will appear left-to-right (top-to-bottom) in the order in which they are inserted. void Change(Interactor*) Notify the box that the given interactor's shape has changed. If change propagation is true, the box will modify its own shape to reflect the change and notify its parent. Regardless of propagation, the box will recompute the positions of the component interac- tors and update any that have changed. void Remove(Interactor*) Take an element of out a box. Remove does not cause any immediate change to the other components in the box; the Change operation must be called after one or more Removes to update the component positions. SEE ALSO
Glue(3I), Interactor(3I), Scene(3I), Shape(3I) InterViews 15 June 1987 Box(3I)
All times are GMT -4. The time now is 07:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy