Unit Test using Test Driven Development Approach to Support Reusability

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. by 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 Paper URL: https://www.ijtsrd.com/engineering/computer-engineering/21731/unit-test-using-test-driven-development-approach-to-support-reusability/myint-myint-moe

Authors and Affiliations

Keywords

Related Articles

Doppler Sodar Observations of the Diurnal Variations of the Atmospheric Boundary Layer over Gadanki, a Tropical Rural Station

Doppler SODAR (Sound Detection and Ranging) is used to measure vertical velocity in order to investigate the diurnal variations in different seasons and their causative processes. Significant diurnal variations are obser...

Spectroscopic Study of Electronically - Doped Polyanilines

Polyanilines namely emeraldine, nigraniline and pernigraniline were prepared by chemical method and were electronically-doped with organic acceptors such as, TCNE, TCNQ, DDQ, Chloranil and KI-I2. The FTIR spectra of 20%...

Performance Analysis of Brushless DC Motor under Different Loading Conditions

This paper deal with the speed response characteristics analysis of brushless dc motor under different load variations. BLDC drive are widely used motors now a days due to its good speed control characteristics and high...

M2M Networking Architecture for Data Transmission and Routing

We propose a percolation based M2M networking architecture and its data transmission method. The proposed network architecture can be server-free and router-free, which allows us to operate routing efficiently with perco...

Covid 19 Workplace Adjustments through Virtual Organization Designs

The impacts of COVID 19pandemic on business organisations across the globe have been dramatic and unprecedented. While some organisations have collapsed, others have managed to survive and maintained stability and some o...

Download PDF file
  • EP ID EP584957
  • DOI 10.31142/ijtsrd21731
  • Views 91
  • Downloads 0

How To Cite

(2019). Unit Test using Test Driven Development Approach to Support Reusability. International Journal of Trend in Scientific Research and Development, 3(3), 194-196. https://europub.co.uk/articles/-A-584957