what is unit testing? It comes under white box or Black Box
testing?
Answers were Sorted based on User's Feedback
Answer / ramireddy
unit testing is done by the programmer for encounter errors in programmming and it comes under white box testing.it do not comes under black box testing
Is This Answer Correct ? | 2 Yes | 4 No |
Answer / krk
unit Testing is a level of the software testing process where individual units/components of a software/system are tested. The purpose is to validate that each unit of the software performs as designed.
A unit is the smallest testable part of software. It usually has one or a few inputs and usually a single output. In procedural programming a unit may be an individual program, function, procedure, etc. In object-oriented programming, the smallest unit is a method, which may belong to a base/super class, abstract class or derived/child class. (Some treat a module of an application as a unit. This is to be discouraged as there will probably be many individual units within that module.)
Unit testing frameworks, drivers, stubs and mock or fake objects are used to assist in unit testing.
METHOD
Unit Testing is performed by using the White Box Testing method.
When is it performed?
Unit Testing is the first level of testing and is performed prior to Integration Testing.
Who performs it?
Unit Testing is normally performed by software developers themselves or their peers. In rare cases it may also be performed by independent software testers.
Is This Answer Correct ? | 3 Yes | 5 No |
Answer / guest
Basically unit testing is done by the development team.so it
comes under white box testing.Black box testing is done by
testing team.
Is This Answer Correct ? | 1 Yes | 3 No |
Answer / nitin verma
HI,
In the unit testing we take a small piece if coede and test
it apart from rest of the whole application.It comes under
both black box testing and white box testing.
nitin9360@yahoo.com
Is This Answer Correct ? | 5 Yes | 8 No |
Answer / guest
it is a coding level testing done by the programmers using
white box technique testings
Is This Answer Correct ? | 3 Yes | 6 No |
Answer / rajeshwar rao
Soon of the code is complited the developer will strat the
unit testing. it is a method of microscale of testing.that
means each line of the code will be tested to the rectify
the error.unit testing comes under white box testing.it is
done by the developers.
in these unit testing normaly comes some erros
incorrect initalijation.
mixed mode operationes.
Is This Answer Correct ? | 3 Yes | 6 No |
Answer / jatinbhopale
Unit testing is Module wise testing of Application. As Unit
testing is done by Programmer this testing is done for code
testing i.e. White box testing. On the other side Manual
testers do manual testing for it i.e. Black Box testing
Is This Answer Correct ? | 2 Yes | 7 No |
Answer / baba
Unit Testing is Testing the smallest Unit or block of code.
Unit is defined as collection of segments.
It comes under Both White and Black Testing
Is This Answer Correct ? | 7 Yes | 17 No |
Which testing approach you follow to test ATM machine?
What is Vertical & Horizontal Traceability?
Can you explain the importance of PII in SCAMPI?
Can any one please tell me the exact difference between the smoke testing,sanity testing and exploratory testing?
Hi, Can anyone suggest a test case writing technique for the below scenario. 1. User draws a lines on the image 2. User selects the lines and right clicks ( Measuremnts like distance between the start and the end point, coordinates of start point and coordinates of end point) 3. User selects one of the measurement Measurement is displayed Just want to highlight, i am looking for a test case writing technique for above scenario.
what is v-model? explain it in detail?why we call it as v- model not an u-model?
Hi All, What is meant by compliance project?
What is the initial stage of testing?
what are the testcases for Lift--
HP QC Defect life cycle?
if you working with any emails why Inbox, outbx, folder all are in left side. why not Right side.
Can any one tell me how will be the projects in realtime life?. I am much worried because this going to be my first job?