Strategi Test-Driven Development dalam Arsitektur Microservices untuk Optimalisasi Pengembangan Aplikasi Payroll
DOI:
https://doi.org/10.33020/saintekom.v16i1.925Keywords:
test-driven development, microservices, payroll, code coverage, defect rateAbstract
The development of payroll systems based on microservices demands highly reliable software, particularly in inter-service communication. This study aims to evaluate the effectiveness of the Test-Driven Development (TDD) approach in improving software quality within a microservice-based Payroll system. A mixed method was employed, combining qualitative analysis of TDD implementation and quantitative measurements of code coverage and defect rate. The system was implemented across three main services: Auth Service, Employee Service, and Payroll Service, all accessed through an API Gateway. Results show that the TDD approach increased statement coverage up to 96.81% and reduced the defect rate to 4.33 per 1000 lines of code. These findings confirm that TDD significantly contributes to the reliability and robustness of testing in microservice architectures. The outcomes of this study provide a solid foundation for the broader application of TDD in other modular system developments.
Downloads
References
Agha, D., Sohail, R., Meghji, A. F., Qaboolio, R., & Bhatti, S. (2023). Test Driven Development and Its Impact on Program Design and Software Quality: A Systematic Literature Review. VAWKUM Transactions on Computer Sciences, 11(1), 268–280. https://doi.org/10.21015/vtcs.v11i1.1494
Ardiansyah, Alam, R., & Arifin, Z. (2024). Pengaruh Kepuasan, Kepercayaan dan Harga terhadap Loyalitas Penumpang Maskapai Garuda Indonesia Di Bandar Udara Internasional Sultan Hasanuddin Makassar. SEIKO?: Journal of Management & Business, 7(1), 619–632.
Creswell, W., & Cresswell, J. D. (2022). RESEARCH DESAIN QUALITATIVE, QUANTITATIVE, AND MIXED METHODS APPROACHES. https://books.google.co.id/books?id=Rkh4EAAAQBAJ&printsec=frontcover&hl=id#v=onepage&q&f=false
Cui, J. (2024). A Comparative Study on the Impact of Test-Driven Development (TDD) and Behavior-Driven Development (BDD) on Enterprise Software Delivery Effectiveness. Arxiv.
Driss, R., Widad, E., & Ahmed, E. (2024). Towards a Framework for Optimized Microservices Placement in Cloud Native Environments. International Journal of Advanced Computer Science and Applications, 15(7), 969–976. https://doi.org/10.14569/IJACSA.2024.0150795
El Akhdar, A., Baidada, C., Kartit, A., Hanine, M., García, C. O., Lara, R. G., & Ashraf, I. (2024). Exploring the Potential of Microservices in Internet of Things: A Systematic Review of Security and Prospects. Sensors, 24(20), 1–35. https://doi.org/10.3390/s24206771
Fu’adi, A., & Prianggono, A. (2022). Analisa dan Perancangan Sistem Informasi Akademik Akademi Komunitas Negeri Pacitan Menggunakan Diagram UML dan EER. Jurnal Ilmiah Teknologi Informasi Asia, 16(1), 45–54. https://doi.org/10.32815/jitika.v16i1.650
Haque, W. (2025). Test and Defect Driven Development ( T3D ): A Novel Approach to Software Development. 18(4), 139–147. https://doi.org/10.4236/jsea.2025.184009
Jonathan, F., & Pakereng, M. A. I. (2021). Test-Driven Development pada Pengembangan Aplikasi Android untuk Memantau COVID-19. IJCIT (Indonesian Journal on Computer and Information Technology), 6(1), 20–24. https://doi.org/10.31294/ijcit.v6i1.9502
Miao, T., Shaafi, A. I., & Song, E. (2025). Systematic Mapping Study of Test Generation for Microservices: Approaches, Challenges, and Impact on System Quality. Electronics (Switzerland), 14(7). https://doi.org/10.3390/electronics14071397
Oktafanda, E., Al-hafiz, N. W., Latif, A., & Santosa, F. (2025). Analysis and Design of Monolithic System Architecture Migration to Microservices at PT . MALINDO Conceptual Approach. 8(1), 54–63. https://doi.org/10.36378/jtos.v8i1.4265
Riyanto, Irman Hermadi, & Yani Nurhadryani. (2023). Analisis Uji Performa Aplikasi Dari Hasil Implementasi Refactoring Arsitektur Monolitik Ke Mikroservis dengan Decomposition dan Strangler Pattern. Jurnal Sistem Cerdas, 6(3), 189–203. https://doi.org/10.37396/jsc.v6i3.352
Staegemann, D., Sudhakaran, S., Daase, C., & Turowski, K. (2023). Exploring the Test Driven Development of an Information Retrieval System. ICSBT International Conference on Smart Business Technologies, 2023-July(Icsbt), 104–113. https://doi.org/10.5220/0012147700003552
Staegemann, D., Volk, M., Jamous, N., & Turowski, K. (2022). A Process Model for Test Driven Development in the Big Data Domain. International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management, IC3K - Proceedings, 3(Ic3k), 109–118. https://doi.org/10.5220/0011337200003335
Staegemann, D., Volk, M., Perera, M., Haertel, C., Pohl, M., Daase, C., & Turowski, K. (2022). A Literature Review on the Challenges of Applying Test-Driven Development in Software Engineering. Complex Systems Informatics and Modeling Quarterly, 2022(31), 18–28. https://doi.org/10.7250/csimq.2022-31.02
Vimaleshwaran, S., & Lanka, S. (2023). Evaluating the Impact of Test-Driven Development (TDD) on Software. International Journal of Science and Engineering Applications, 12(05), 87–92. https://doi.org/10.7753/ijsea1205.1026
Wijanarko, S. (2024). Penerapan Test Driven Development ( TDD ) pada Laravel Menggunakan PHPUnit. XIII(02), 60–63.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Ai Dina Agustin, Abdul Hadi; Suratno Suratno

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Copyright :
By submitting manuscripts to Jurnal Saintekom : Sains, Teknologi, Komputer dan Manajemen, the author agrees with this policy. No specific document approval is required.
- The copyright in each article belongs to the author.
- Authors retain all their rights to the published work, not limited to the rights set forth in this page.
- Authors acknowledge that Saintekom Journal: Science, Technology, Computers and Management as the first to publish under the Creative Commons Attribution 4.0 International license (CC BY-SA).
- The author may submit the paper separately, arrange for non-exclusive distribution of the manuscript that has been published in this journal into other versions (e.g. sent to the author's institutional respository, publication into a book, etc.), by acknowledging that the manuscript has been first published Jurnal Saintekom : Sains, Teknologi, Komputer dan Manajemen;
- The author warrants that the article is original, written by the named author, has not been previously published, contains no unlawful statements, does not infringe the rights of others, is subject to copyright exclusively held by the author.
- If the article is jointly prepared by more than one author, each author submitting the manuscript warrants that he or she has been authorized by all co-authors to agree to copyright and license notices (agreements) on their behalf, and agrees to inform co-authors of the terms of this policy. Jurnal Saintekom : Sains, Teknologi, Komputer dan Manajemen will not be held liable for anything that may arise due to internal author disputes.
Lisensi :
Jurnal Saintekom : Sains, Teknologi, Komputer dan Manajemen is published under the terms of the Creative Commons Attribution 4.0 International License (CC BY-SA). This license permits anyone to:.
- Share - copy and redistribute this material in any form or format;
- Adaptation - modify, alter, and create derivatives of this material for any purpose.
- Attribution - you must give appropriate credit, include a link to the license, and state that changes have been made. You may do this in any appropriate manner, but it does not imply that the licensor endorses you or your use.
- Similar Sharing - If you modify, alter, or create a derivative of this material, you must distribute your contribution under the same license as the original material.
Most read articles by the same author(s)
- Anisa Febriyana Putri, Abdul Hadi, Lili Rusdiana, Analisis Trafik Jaringan menggunakan Wireshark untuk Deteksi Serangan Deauthentication pada Perangkat Kamera Wi-Fi , Jurnal Saintekom : Sains, Teknologi, Komputer dan Manajemen: Vol. 15 No. 2 (2025): September 2025
- Abdul Hadi, Herkules Herkules, Siti Maryamah, Integrasi Penyimpanan Data dan Keamanan Jaringan Kantor KEMENAG Menggunakan Metode PPDIOO , Jurnal Saintekom : Sains, Teknologi, Komputer dan Manajemen: Vol. 15 No. 2 (2025): September 2025
- Restu Bumi Ryan Ramadhan, Abdul Hadi, Siti Maryamah, Optimasi Proses Deployment dengan Blue-Green Deployment Berbasis Containerization untuk Mencapai Zero Downtime , Jurnal Saintekom : Sains, Teknologi, Komputer dan Manajemen: Vol. 15 No. 2 (2025): September 2025
- Ryan Achmad Antama, Abdul Hadi, Maura Widyaningsih, Analisis Bukti Digital pada Private Chat Synology Menggunakan Metode Live Forensik , Jurnal Saintekom : Sains, Teknologi, Komputer dan Manajemen: Vol. 16 No. 1 (2026): Maret 2026


