How does unit testing play a role in the development / software lifecycle?

Showing Answers 1 - 7 of 7 Answers

Ranjith Nair

  • Aug 25th, 2005
 

We can catch simple bugs like GUI ,small functional Bugs during unit testing.This reduces testing time.Overall this saves project time.If developer doesn't catch this type of bugs,this will come to integration testing part and if it catches by a tester,this need to go through a Buglife cycle and consumes a lot of time.

  Was this answer useful?  Yes

Sujatars

  • Oct 9th, 2007
 

Unit testing helps in verfying that a unit or module that is built is as per requirements and functions properly .It helps in preventing bugs getting multiplied and migrated in later phases.

  Was this answer useful?  Yes

Unit Testing play a important Role in the Development & Software Life Cycle.

Unit tests find problems early in the development cycle.

Which reduces the cost.

Facilitates Change Readily-available unit tests make it easy for the programmer to check whether a piece of code is still working properly. 

Simplifies Integration- Unit testing may reduce uncertainty in the units themselves and can be used in a bottom-up testing style approach. By testing the parts of a program first and then testing the sum of its parts, integration testing becomes much easier. 

Documentation - Unit testing provides a sort of living documentation of the system. Developers looking to learn what functionality is provided by a unit and how to use it can look at the unit tests to gain a basic understanding of the unit API. 

Design - When software is developed using a test-driven approach, the unit test may take the place of formal design. Each unit test can be seen as a design element specifying classes, methods, and observable behaviour.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions