Please use this identifier to cite or link to this item:
https://rfos.fon.bg.ac.rs/handle/123456789/1853| Title: | Komparativna analiza kvaliteta programskog kôda dobijenog razvojem vođenim testom i konvencionalnom metodom razvoja Comparative analysis of the programming code quality developed using test driven development and conventional method |
Authors: | Kostić, Sanja Lazarević, Saša |
Keywords: | testiranje;softverske metrike;razvoj vođen testom;kvalitet kôda;implementacija;analiza;testing;test driven development;software metrics;implementation;code quality;analysis | Issue Date: | 2018 | Publisher: | Univerzitet u Beogradu - Fakultet organizacionih nauka, Beograd | Abstract: | U ovom radu je paralelno prikazan razvoj i implementacija klijent-server aplikacije metodom razvoja vođenog testom i konvencionalnom metodom u kojoj se proces pisanja testova obavlja nakon napisanog kôda. Koristeći istu specifikaciju, aplikacije su implementirane na različite načine. Razvoj aplikacije metodom razvoja vođenog testom počinje od kreiranja testova korisničkog interfejsa, a nakon toga slede integracioni i jedinični testovi sve dok se pisanjem kôda ne dođe do stanja da su svi testovi uspešno izvršeni. U svim fazama pisanja testova primenjena je tehnika 'test-implementacija-refaktorisanje'. Korišćenjem statičkih softverskih metrika izvršena je analiza i poređenje kvaliteta kôda dobijenog primenom obe metode. Najznačajniji aspekt rada jeste uticaj testova na strukturu kôda i stabilnost sistema, dok sama pokrivenost kôda ima manju ulogu. Rad obuhvata i studije slučaja organizovane od strane softverskih kompanija i prikazuje dobijene rezultate na temu merenja efektivnosti razvoja vođenog testom. 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. |
URI: | https://rfos.fon.bg.ac.rs/handle/123456789/1853 | ISSN: | 1451-4397 |
| Appears in Collections: | Radovi istraživača / Researchers’ publications |
Show full item record
Google ScholarTM
Check
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.