Unit Test using Test-Driven Development Approach to Support Reusability

  • Moe M
N/ACitations
Citations of this article
9Readers
Mendeley users who have this article in their library.

Abstract

Unit testing is one of the approaches that can be used for practical purposes in improving the quality and reliability of software. Test Driven Development TDD adopts an evolutionary approach which requires unit test cases to be written before implementation of the code. TDD method is a radically different way of creating software. Writing test first can assure the correctness of the code and thus helping developer gain better understanding of the software requirements which leads to fewer defects and less debugging time. In TDD, the tests are written before the code is implemented as test first. The number of defects reduced when automated unit tests are written iteratively similar to test driven development. If necessary, TDD does the code refactoring. Refactoring does to improve the internal structure by editing the existing working code, without changing its external behavior. TDD is intended to make the code clearer, simple and bug free. This paper focuses on methodology and framework for automation of unit testing. Myint Myint Moe "Unit Test using Test-Driven Development Approach to Support Reusability" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-3 | Issue-3 , April 2019, URL: https://www.ijtsrd.com/papers/ijtsrd21731.pdf

Cite

CITATION STYLE

APA

Moe, M. M. (2019). Unit Test using Test-Driven Development Approach to Support Reusability. International Journal of Trend in Scientific Research and Development, Volume-3(Issue-3), 194–196. https://doi.org/10.31142/ijtsrd21731

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free