Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Black box/White box testing

Posted on 2010-09-18
2
443 Views
Last Modified: 2012-06-27
Please help me in scenario based test cases for white box testing.
0
Comment
Question by:manishk1111
2 Comments
 
LVL 40

Expert Comment

by:evilrix
ID: 33710355
Test cases for what? That's like asking you to paint me a picture of my house. You've never seen it; how could you?

Test cases are normally based on the used cases they intend to test. The only significant different between blank and white box testing is that in backbox you only ever test via the interface and have no idea how the internals work where as white box testing considers beyond the interface and will test specifics of what goes on inside.
0
 
LVL 32

Accepted Solution

by:
phoffric earned 500 total points
ID: 33710446
"With white-box testing, you must run the code with predetermined input and check to make
sure that the code produces predetermined outputs. Often programmers write stubs and
drivers for white-box testing. A driver is a software module used to invoke a module under
test and, often, provide test inputs, control and monitor execution, and report test results
(IEEE, 1990) or most simplistically a line of code that calls a method and passes that method
a value."
     http://agile.csc.ncsu.edu/SEMaterials/WhiteBox.pdf

This paper uses UML Activity Diagrams for scenario based white box testing.
    http://dspace.nitrkl.ac.in:8080/dspace/bitstream/2080/833/1/biswal.pdf

All my projects used UML Sequence Diagram Scenario white box testing (using CPPUnit Test).
    http://www.stickyminds.com/sitewide.asp?Function=edetail&ObjectType=ART&ObjectId=3718





0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Test Automation Framework Before we proceed into the depth of framework design and related components, I would like to clarify some common notions related to Software Test Automation. It is often considered that Automation will help in identif…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question