Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Unit Testing within the Testing Issues forums, part of the Software Testing category; Does unit testing come under Whitebox testing or Blackbox testing? Is it verification or validation? Note: [This question was asked by TestWise]...
|
|||||||
|
|||
|
Unit Testing
Does unit testing come under Whitebox testing or Blackbox testing? Is it verification or validation?
Note: [This question was asked by TestWise] |
| Sponsored Links |
|
|||
|
Re: Unit Testing
Unit testing comes under both white box testing and black box testing. If you see the uses of Black box testing and white box testing, you will see unit testing in both.
Unit testing is defined as a procedure to validate individual units or modules of the source code. (Hence obviously, unit testing is a validation method) Cheers, Kalayama
__________________
[COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR] Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!" |
|
|||
|
Re: Unit Testing
Well, as far as I know Unit Testing can also be black box testing because ieach unit can be treated as a black box.
For further refference here are the wikipedia link for these topics. Unit testing - Wikipedia, the free encyclopedia White box testing - Wikipedia, the free encyclopedia Black box testing - Wikipedia, the free encyclopedia
__________________
[COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR] Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!" |
|
|||
|
Re: Unit Testing
kalayama, you are right but in general if developer is doing testing, what you will call it?
It may be black box, but it called white box. Unit testing is done by developers generally, rarely there are testers for unit testing. I thing you are getting me, still i am agree that unit testing is black box also. If you or me will go to deep then it will not a disscussion, it will be a ego to win. |
|
|||
|
Re: Unit Testing
cool guys.... we are just discussing...
Unit testing is one of the initial levels of testing usually performed by the developers but if the requirement urges for (based on the complexity) we got to do "unit black box testing" where the testers come into picture... Say we have a module built by developers which is very very complex... then in such situations they finish the uunit testing and request the leads to allow a black box testing on that particular module or unit... before integrating the code to the entire system or the final build... So in these situations the seniors like senior test eng or test leads com in and perform an adhoc black box testing on the module usually called the "unit black box testing". here its difficult to say whether unit testing is a part of white box or black box testing... But as the terms are broadly generalised and used we say unit and integration testing are part of white box testing and the system/build level testing is black box testing. hope this clears it up... |
|
|||
|
Re: Unit Testing
Well jainbrijesh. I have absolutely no experience as test engineer. I am trying to learn things here. Hence there is a high possibility that I speak theoritically. There is no EGO here.
Yes. You are right that unit testing is done by the one who codes. (I do unit testing for my own code. ). Clear me on this while defining White box testing and black box testing, is the factor that who tests counts? Like can we generalize and say the tests conducted by Coder is white box testing? (Exclude the extreme cases where the coder might be a part of the test team.) PS : Remember, all we are trying to do here is to learn things and make ourselves better individuals. If I sounded Egoistic anywhere in my postings, I beg million pardons. No. That was never intended. Again, I say, my postings might need correction. I portray my opions based on the little knowledge I have. Let the argument/fight be for knowledge. It might as well be fun bhavni, it was a real good post from you in the right time. jainbrijesh Your post has mode the discussion more mature. It was good posting from your side. We have learnt a lot because of extended discussion. (Atleast I have!) Let's keep posting and have fun! Cheers, -Kalayama
__________________
[COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR] Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!" Last edited by kalayama; 12-08-2006 at 10:25 AM. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Testing PHP – Security Testing | RyanJames | Testing Issues | 7 | 02-03-2009 11:53 PM |
| interoperability testing, vulnerability testing) | milu_mohanty | Testing Issues | 1 | 04-19-2007 03:01 AM |