Difference Between Black box and White box Testing
by Dwarika Dhish Mishra · May 24, 2012
Difference Between Black box and White box Testing
Black-Box Testing 1- Black Box means opaque object or box where we can’t see the internal structure.In Black box testing we only concentrate on Input and output.2- Black-box test design is usually described as focusing on testing functional requirements. So we normally test the functionality of software without going deep in to its code and structure3- Techniques that is used in Black Box testing- Boundary-value analysis
- Error guessing
- Race conditions
- Cause-effect graphing
- Syntax testing
- State transition testing
- Graph matrix
- Equivalence partitioning
4- Best example of Black box testing is Search on Google. User just enters keywords and get the expected results in turn. End user never take tension to see what is behind this screen that is employed to fetch these results. 5- Technical background is not the necessity of Black-Box Tester. White-Box Testing 1- White-Box testing is also known as clear box testing, glass box testing, transparent box testing, and structural testing. 2- White-Box testing deals with the internal structure and the internal working rather than only functionality. 3- For White-Box testing, programming background is must because this helps in creating test cases for white-box testing. 4- White-box testing is applied for Unit testing, integration testing and sometime in it is also used for system testing. 5- These are few techniques that are used in white box testing- Code Coverage
- Segment coverage: This is done to ensure that all statement or each line of code has been executed
- Compound condition coverage and loop coverage: In this we test all the conditions and all the branching and loops in code
- Data Flow testing: we test all the intermediate steps, in this we test how sequential steps behave
- Path Testing: In this we test all the path that is defined in code
6- Through White-Box testing, tester detects all logical errors, design error and Typographical error. |
| |
Related
Tags: Black-box testingBlackbox TestingBoundary-value analysisCode coverageDifference Between Black-box and White-box TestingEQUIVALENT PARTITIONError GuessingTest case techniquetestingunit testWhite-box testingWhitebox testing Vs Blackbox Testing
Dwarika Dhish Mishra
My name is Dwarika Dhish Mishra, its just my name and I am trying to bring the worth of my name in to actions and wants to be the solution not the problem. I believe in spreading knowledge and happiness. More over I am fun loving person and like travelling a lot. By nature I am a tester and a solution maker. I believe in the tag line of http://ted.org “Idea worth spreading” . For the same, I have created this blog to bring more and more learning to tester fraternity through day to day learning in professional and personal life. All contents are the part of my learning and so are available for all..So please spread the contents as much as you can at your end so that it could reach to every needful people in testing fraternity. I am pretty happy that more and more people are showing interest to become the part your Abode QA blog and I think this is good sign for us all because more and more content would be before you to read and to cherish. You may write or call me at my Email id: dwarika1987@gmail.com
Cell: 9999978609
You may also like...
Explain very nice in simple language, we can understand easily thanks
Thanks Sunita, we are happy that this article helps you!!