Implementation of PHPUnit-Based Test Driven Development in PharmacyERP System Development
DOI:
https://doi.org/10.31294/reputasi.v7i1.12583Keywords:
Test Driven Development, PHPUnit, Enterprise Resource Planning, Apotek, LaravelAbstract
This research applies the Test-Driven Development (TDD) methodology using PHPUnit to develop an ERP system for Apotek Pasyha using the Laravel 12 framework. Through a case study design and Red-GreenRefactor cycles, the development of eight core modules yielded 751 test cases and 2,146 assertions. System success was measured using the Test Pass Rate, achieving an "Excellent" category. Most modules reached a perfect pass rate, while technical constraints were only found in external libraries and rendering sequences rather than business logic. The results demonstrate that TDD is effective for SME-scale ERP development by enabling early defect detection, ensuring data accuracy, and producing functionally verified code to maintain the quality and reliability of complex systems.
References
Afina Lina Nurlaili, I Dewa Gde Satria Pramana Erlangga, & Sugiarto Sugiarto. (2023). Pengujian User Acceptance Test Pada Aplikasi Bangbeli: (Studi Kasus: Pt. Doa Anak Digital). Jurnal Informatika Dan Tekonologi Komputer (JITEK), 3(3), 213–219. Https://Doi.Org/10.55606/Jitek.V3i3.2003
Alkhairi, M. G., Alkadri, S. P. A., & Utami, P. Y. (2024). Implementasi Unit Testing Dan End-To-End Testing Pada Sistem Informasi Akademik Teknik Informatika. JIPI (Jurnal Ilmiah Penelitian Dan Pembelajaran Informatika), 9(4), 2208–2219. Https://Doi.Org/10.29100/Jipi.V9i4.5626
Anggraeny, F. T., Salsabila, K., & Rizki, A. M. (2022). Pengujian Sistem Pendukung Keputusan Penentuan Jurusan Pada Siswa Sma Dengan Menggunakan Metode Black Box Berbasis Equivalence Partitions. 9.
Azizah, M. N., Setianti, D. I. A., & Nugroho, A. (2024). Penerapan Sistem Enterprise Resource Planning (Erp) Pada Sektor Umkm. Jurnal Teknologi Dan Sistem Informasi Bisnis, 6(1), 110–116. Https://Doi.Org/10.47233/Jteksis.V6i1.1090
Beck, K. (2002). Test Driven Development: By Example. Addison-Wesley Professional.
Endra, R. Y., Aprilinda, Y., Dharmawan, Y. Y., & Ramadhan, W. (2021). Analisis Perbandingan Bahasa Pemrograman Php Laravel Dengan Php Native Pada Pengembangan Website. Expert: Jurnal Manajemen Sistem Informasi Dan Teknologi, 11(1), 48. Https://Doi.Org/10.36448/Expert.V11i1.2012
Ilyas, M., & Sari, R. (2024). Rancang Bangun Sistem Informasi Manajemen Karyawan Berbasis Web. Reputasi: Jurnal Rekayasa Perangkat Lunak, 5(1), 62–68. Https://Doi.Org/10.31294/Reputasi.V5i1.3318
Itagi, F. S., Satish, J. G., Gaitonde, V. N., Kulkarni, V. N., & Kotturshettar, B. B. (2023). Benefits And Challenges Of Implementing Erp In Pharmaceutical Industries. 040025. Https://Doi.Org/10.1063/5.0118996
Parsa, S. (2023). Unit Testing And Test-Driven Development (Tdd) (Hlm. 45–77). Https://Doi.Org/10.1007/978-3-031-22057-9_2
Pratama, S. D., Lasimin, L., & Dadaprawira, M. N. (2023). Pengujian Black Box Testing Pada Aplikasi Edu Digital Berbasis Website Menggunakan Metode Equivalence Dan Boundary Value. J-Sisko Tech (Jurnal Teknologi Sistem Informasi Dan Sistem Komputer Tgd), 6(2), 560. Https://Doi.Org/10.53513/Jsk.V6i2.8166
Pressman, R., & Maxim, B. (2014). Software Engineering: A Practitioner’s Approach, 8th Ed.
Rahardja, U. (2022). Implementation Of Enterprise Resource Planning (Erp) In Indonesia To Increase The Significant Impact Of Management Control Systems. Aptisi Transactions On Management (Atm), 7(2), 152–159. Https://Doi.Org/10.33050/Atm.V7i2.1881
Rahman, M. S., Saha, A. K., Chakraborty, U., Sujana, H. T., & Shafi, S. M. A. (2024). Evaluating The Impact Of Test-Driven Development On Software Quality Enhancement. International Journal Of Mathematical Sciences And Computing, 10(3), 51–76. Https://Doi.Org/10.5815/Ijmsc.2024.03.05
Santos, A., Vegas, S., Dieste Tubío, Ó., Uyaguari, F., Tosun, A., Fucci, D., Turhan, B., Scanniello, G., Romano, S., Karac, I., Kuhrmann, M., Mandić, V., Ramač, R., Pfahl, D., Engblom, C., Kyykka, J., Rungi, K., Palomeque, C., Spisak, J., & Juristo, N. (2021). A Family Of Experiments On Test-Driven Development. Empirical Software Engineering, 26. Https://Doi.Org/10.1007/S10664-020-09895-8
Sheta. (2025). The Role Of Test-Driven Development In Enhancing Software Reliability And Maintainability. Ssrn Electronic Journal. Https://Doi.Org/10.2139/Ssrn.5034145
Sulistiyah, Khomariyah, N. N., & Juwantri. (2022). Pengembangan Aplikasi Program Pendapatan Jasa Pengiriman Pada Pt Sahabat Mandiri Hutama Menggunakan Framework Laravel. 3(2).
Surono, H., & Yulia, E. R. (2023). Perancangan Sistem Informasi Inventory Obat Pada Apotek Sentra Bs Farma. 4(1).
Taufiqurrahman, F., Widowati, S., & Alibasa, M. J. (2022). The Impacts Of Test Driven Development On Code Coverage. 2022 1st International Conference On Software Engineering And Information Technology (Icoseit), 46–50. Https://Doi.Org/10.1109/Icoseit55604.2022.10030006
Widyastuti, H., & Farish, M. (2020). Perancangan Sistem Informasi Inventory Obat. 1(1).
Wijanarko, S., & Subhiyanto. (T.T.). Vol. Xiii No.02 Agustus 2024. Jurnal Sistem Informasi.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Silvia Dwi Cahyani, Fetty Tri Anggraeny, Afina Lina Nurlaili

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.











