COMPARATIVE ANALYSIS OF THE PROGRAMMING CODE QUALITY DEVELOPED USING TEST DRIVEN DEVELOPMENT AND CONVENTIONAL METHOD

  • Sanja Kostić Fakultet organizacionih nauka, Univerzitet u Beogradu
  • Saša Lazarević Fakultet organizacionih nauka, Univerzitet u Beogradu
Keywords: testing, test driven development, code quality, software metrics, implementation, analysis

Abstract

The development and implementation of the client-server application using test driven development and the conventional method in which test are written before the code are presented in parallel in this paper. Applications are implemented in different ways using the same specification. Test driven development of the application starts from the development of the user interface tests, followed by integration and unit tests development until the written code ensures that all tests have passed. Technique “test-code-refactor” is applied in all phases of tests writing process. An analysis and comparison of the code quality for both applications is done using static software metrics. The most important aspect of the paper is the impact of tests on code structure and system stability, while the code coverage has a minor role. Case studies organized by software companies are also included and the results of measuring the effectiveness of test driven development are presented.
Published
2019-01-15
Section
Articles