what is unit testing? It comes under white box or Black Box
testing?
Answer Posted / 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 |
Post New Answer View All Answers
1. what exactly is heuristic checklist approach for unit testing ?
Why documentation testing is important?
What is Web testing & which action we take at the time of Web Testing?
How do test documents in a project span across the software development lifecycle?
what is the most critical bug u have to find in ur project.My application is ERP based,in this purchase module is there.plz tell me the answer?
Explain the manual testing process?
What is Stability and Performance Testing in Testing the TV
Any one please can u tell me what is composer? An interviewer asked me do u have experience in Composer? its urgent.
Please anyone give answers for all below questions and help ? realtimers please and please share your knowledge.lot of questions left unanswered.
What exactly is quality control? Is it similar to quality assurance?
i have 2.5 years of experience in manual testing and qtp. can anyone say me what kind of questions do they ask on manual testing and qtp.
How would you test a service oriented architecture (soa) web application?
What is quality center? What are the modules of quality center?
What is white box testing?
i need manual testing interview questions for 2+ experience plzz help me..