Software Testing
Type - Unit Testing
What is unit Testing?
Unit testing is the first step of testing. In this testing, tester
tests the individual unit of any software or programmer. This testing generally
performed by developer to test the bunch of specific code or function.
Objective or Importance of Unit Testing!
Main objective or importance of unit testing is to save time
and money as this testing performed during development phase by developer. Developers
do this testing during coding so that further process of coding can progress
properly without any error or mistake.
Building Test Cases for Unit Testing!
Generally unit testing performed by automated testing. But
some times we performed manually testing for any unit. To check the
functionality of any new developed unit user can apply break point in code and
run in debug form with the help of special key.
Tools for Unit Testing:
i. Rational
Software
ii. Java script
Assertion Unit
iii.
CUT is test tool with a Fee unit
iv. Dotunit is a Freeware unit testing tool of .net
framework, Its a part of junit.
Benefits of Unit Testing:
i.
Programmers can learn with the help of
unit testing as they have to understand the functionality of unit testing and
its code, and how it is working.
ii.
Accuracy: Developers have to confirm that
developed code is working fine or not. He will check it and map with old code if
there is any error in code.
iii.
Time Saver: Unit testing is time saver, developers
can do this testing without
waiting any testing member and
complete work on it.
Limitation of Unit Testing:
i. Independent code: If code is independent the unit testing
is possible otherwise it is not possible.
ii. Limitation: Unit testing is related to any specific unit
and tester can not catch the error related to integration module.
What is unit Testing, Objective or Importance of Unit
Testing, Test Cases for Unit Testing, Tools for Unit Testing, Benefits of Unit
Testing, Limitation of Unit Testing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
No comments:
Post a Comment