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


Please Help Members By Posting Answers For Below Questions

in transfer funds module, how you come to know that amount has been transferred successfully or not....explain in detail

1153


Work flow in testing in your company?

1354


what is date field test case

1453


What are the different strategies for rollout to end users?

732


Which of these techniques is not useful for partition testing at the class level Option 1 attribute-based partitioning Option 2 category-based partitioning Option 3 equivalence class partitioning Option 4 state-based partitioning

10114






What is the difference between load testing and performace testing?

693


What are the different servers and difference between them?

1618


whta is compile module?

1688


how we write test cases to brs,srs,hlds,llds

2872


How we can test Cookies Manually?

1812


How do you Prepare a Defect Managemnt Policy

1631


I want to know about satyam manual testing questions

1413


There are some features to improve the performance of a Product. What are those factors?

1613


Can you explain the pdca cycle and where testing fits in?

785


what is your daily activities?

1669