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 difference between regression testing and re- testing?
What is the responsibility of programmers vs QA?
Can anyone give me the usecase template???
How will you know if you wrote sufficient test cases for a particular business requirement.
Explain a sample testing cycle?
What is manual testing?Is any different types of testing in this?
Explain the various steps to conduct Requirements Elicitation process
what is the format for usecase?
Name three reasons why the tester may choose to record in Analog mode.
anyone ca explain Tracebility metrics.how to involve on this.
which tool used for gui testing?
what is the diff between webserver app & client server application...
2 Answers 3i Infotech, HCL, vSplash,