• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 471
  • Last Modified:

Black box/White box testing

Please help me in scenario based test cases for white box testing.
1 Solution
evilrixSenior Software Engineer (Avast)Commented:
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.
"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."

This paper uses UML Activity Diagrams for scenario based white box testing.

All my projects used UML Sequence Diagram Scenario white box testing (using CPPUnit Test).

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The IT Degree for Career Advancement

Earn your B.S. in Network Operations and Security and become a network and IT security expert. This WGU degree program curriculum was designed with tech-savvy, self-motivated students in mind – allowing you to use your technical expertise, to address real-world business problems.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now