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
How do you perform configuration management with typical revision control systems?
What's the difference between system testing and acceptance testing?
do we need to write test cases for workflow of the product for instance: there is 2 module "TRAINING ASSIGN MODULE" and "EMPLOYEE" in TRAINING assign MODULE iam assigning training to employee setp is 1.selct traning "oracle" 2.select employee u want assign "peter" 3.apply. now to check whether training assign or not GOTO EMPLOYEE module 1.click on "peter" 2.click on 'view assign to employee'link.now this is a flow do i need to write test cases for this fllow.plz help me guy mail me nirmal_rawatt@rediff.com
How to write testcases for unread/read mails for gamil inbox? and what are the types of testing you do on them?
How will you determine when to stop testing?
How do you test google or gmail application??tell me step by step process??
What is the difference between three tier and two tier application?
qtp9.2 and qtp10.0 difference
What processes/methodologies are you familiar with?
If project wants to release in 3months what type of risk analysis you do in test plan?
1.How to maintain the Bug status Report? 2.What is project based Company and product based company?
1. what is baseline document , can you say any two ?
What is ofx testing?
Can any one give a summary of testing a territory management system? what would be the test scenarios, few test cases. how it works.
Our software designers use UML for modeling applications. Based on their use cases, we would like to plan a test strategy. Do you agree with this approach or would this mean more effort for the testers.