This is a discussion on Black Box & White box testing within the Software Testing forums, part of the Software Quality Assurance category; Can anyone share black box & white box testing Anbudan, Prasath.K...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| hey, Black-box and white-box are test design methods. Black-box test design treats the system as a "black-box", so it doesn't explicitly use knowledge of the internal structure. Black-box test design is usually described as focusing on testing functional requirements. Synonyms for black-box include: behavioral, functional, opaque-box, and closed-box. White-box test design allows one to peek inside the "box", and it focuses specifically on using internal knowledge of the software to guide the selection of test data. Synonyms for white-box include: structural, glass-box and clear-box. While black-box and white-box are terms that are still in popular use, many people prefer the terms "behavioral" and "structural". Behavioral test design is slightly different from black-box test design because the use of internal knowledge isn't strictly forbidden, but it's still discouraged. In practice, it hasn't proven useful to use a single test design method. One has to use a mixture of different methods so that they aren't hindered by the limitations of a particular one. Some call this "gray-box" or "translucent-box" test design, but others wish we'd stop talking about boxes altogether. It is important to understand that these methods are used during the test design phase, and their influence is hard to see in the tests once they're implemented. Note that any level of testing (unit testing, system testing, etc.) can use any test design methods. Unit testing is usually associated with structural test design, but this is because testers usually don't have well-defined requirements at the unit level to validate.
__________________ Venkat knowledge is Power |
| |||
| Black box testing is a stimulus-response analysis of behavior. To run (or define) a black box test, we don’t need to know anything about how the software works This highlights the primary benefit of black box testing, a system can be tested by someone with no knowledge of how it works. This allows us to more easily find people capable of testing our software - the pool of available people with the skills to keep track of what they input and what they output is much larger than that of people who understand the stuff “under the hood”. It also saves our testers from having to learn how it works - they can start testing immediately. When a team is organized with a dedicated testing (only) staff, the tests they create are typically black box tests - because the team can be staffed more cost effectively. Blackbox tests are sometimes referred to as opaque tests or closed-box tests. They are sometimes also referred to as behavioral tests - in that they only test the behavior of the system, not how (or how well) it is constructed. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Black box/white box testing? | srikumar_l | Software Testing | 5 | 05-14-2008 03:28 AM |
| Change color video to Black and white | arunsamini | Flash Actionscript Programming | 3 | 10-31-2007 07:14 AM |
| What are the Types in white box testing? | itbarota | Software Testing | 3 | 07-27-2007 06:17 AM |
| white box & blak box testing | nssukumar | Software Testing | 1 | 03-22-2007 06:54 AM |
| White Box Testing | vadivelanvaidyanathan | Software Testing | 2 | 03-14-2007 05:27 AM |