what is unit testing? It comes under white box or Black Box
Answers were Sorted based on User's Feedback
Answer / winrunner
Unit testing is one..which is nothing but testing a small
piece of code..
it comes under white box testing..
|Is This Answer Correct ?||45 Yes||6 No|
Answer / aaa
Unit testing is usually done by programmers to test their
code changes and it requires detail knowledge of the the
internal program code.I think it comes under white box
|Is This Answer Correct ?||19 Yes||2 No|
Unit Testing is purely a white box testing technique. Here
in unit testing we test the functionality of the small peace
of code developed by the developers.
Each and every developers check there code (Unit
testing) to confirm themselves that they work done is
In unit testing we check for code coverage testing which
further consists of loop coverage, statement coverage, path
coverage, there functionality and mutation testing. is there
any unwanted or repeatable variable assigned or not.
for each unit test the developers test the exact
functionality and is not realted to any black box technique.
it is purely a white box testing.
|Is This Answer Correct ?||13 Yes||5 No|
Answer / sowmya
Unit testing is testing individual module fo an
application.it is done by developers.it comes under white
box testing.In black box testing we test the functinality
or behavior of an application.we dont have the internal
knowledge of the application.where as in white box testing
basic path coverage,loops and funtions written in coding
|Is This Answer Correct ?||10 Yes||5 No|
Answer / ashok
Design document was basedline corresponding programmes can start with coding by write programmer and then programmer can test each program completeness and correcteness called as unit testing
During this unit testing programmer can follow four white box techniques
1)based path coverage
2)control structure coverage
3)program techniques coverage
|Is This Answer Correct ?||5 Yes||1 No|
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||3 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.
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||4 No|
Answer / ayush
unit testing is a individual part of code that can be tested and is same time done by developer, just reviewing there code and find any defect.
for example - login page are completed than test this is called unit testing
|Is This Answer Correct ?||0 Yes||1 No|
Answer / sylesh
I think it depends on how you define the so called 'unit'.
Consider a situation where you wrote an application with
just one functionality, which is implemented in precisely
one function. Assume this function contains 3 logical
blocks of code, say an if..else, a for loop and then
another block of statements.
If we are to say that a white box testing has been done on
that code, we should have tested each of these different
blocks of statements, ensure coverage by carrying out
various and as many tests required by inputting as many
varied parameters to ensure that the execution of code has
been tested through each of the lines / blocks of code.
Same time, the programmer would have tested the function
just by passing the input parameters as specified / assumed
from the functionality of the application and would have
verified whether the output has come right.
So if we consider the unit under consideration to be a
function then I think the so called unit test in that case
should be considered more close to black box where as if
the programmer has catered for complete coverage
considering each and every line of code, it should be
considered white box.
Obviously white box testing is more fail safe but sometimes
programmers end up writing unit test cases just for public
functions in which case I prefer to say it is close to
|Is This Answer Correct ?||1 Yes||3 No|
what is BRD and FRD Can any one tell the expansion?
What is a test environment?
Hi all, can anyone tell me what is the selection procedure in Birlasoft for Manual Tester?It will be a great help.
what is the severity we give. login fails eventhough we enter the correct username and pwd.
If the Developers are unable to understand the bug send by the testers , then how will the Testers convince or explain the developer.
What is Independent Testing?
May i know now-a-days most of the companies are following which model?
How you convine the Client that the application is very stable after testing. What type of Document you show to him or anything.
what is prototype model(in S.T.L.C)? What is architecture of prototype model?
How would you determine the performance of a web application by looking at the values of ?Response Time? and ?Pages Per Second??
Hi all, Can u pls help me with some Testing mannual for Test case preparation, Test planning and for attending ISTQB Examination. Kindly provide your feedback in this mail id (email@example.com) Tnks & Rgds Bijesh G
WHAT IS JOIN AND TYPES?WHAT ARE STORED PROCEDURES?