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 |
what is severity and priority?
7 Answers Product Dossier, Tarang,
6 what do you like least about testing?
What is meant code review?
What is a failure?
write 3 test cases on railway reservation system
why RUPis important or what are all the advances in RUP?
Write all possible test scenarios for Login screen.
1.What is mean by data base testing?explain with example? 2. you can check the data base testing through sql then why we are using QTP Data base check ? 3.difference between modified waterfall model and waterfall model? 4.defect life cycle?
i have faced this question in one interview.kindly let me know if u know the ans . the ques is the tester have been found 20 bugs in the requirement .after dev. has been fixed 20 bugs again tester retest the bugs he found again 12 bugs dev .fixed 12 bugs keep on its going ..finally its comes zero defects now how will u checking the application stability ..
what is the difference between V model and Waterfall model used in SDLC?
what are the testing process in your company?
Describe to me the difference between validation and verification.