Design and Implementation of Automated Regression Testing Using Karate Framework: A Case Study of PT Fliptech Lentera Inspirasi Pertiwi
Afina Putri Dayanti, Tony Tony · 2023
In the rapidly evolving digital era, applications and software systems increasingly rely on Application Programming Interfaces (APIs) to enable interaction, integration, and functionality extension. However, manual testing of APIs is often inefficient and challenging to reuse when changes occur: To address this, automation testing has become a more effective choice, where test scripts can verify and execute tests repeatedly, easily adapting to API changes. Essentially, automation testing plays a vital role in software maintenance, particularly in regression testing, which tests modified or upgraded software versions to ensure that their core functions remain unchanged and unaffected. One approach to automation testing is employing the Software Testing Life Cycle (STLC), which follows a systematic series of stages conducted by the testing team to ensure software product quality. This paper utilizes PT Fliptech Lentera Inspirasi Pertiwi’s public API to conduct testing on 25 scenarios selected from two modules with a significant impact. It aims to implement automated regression testing through the Karate Framework, resulting in remarkably short testing duration, averaging just 43.0108 seconds, or approximately 1.720432 seconds per scenario. The primary goal is to enhance testing efficiency, expedite issue identification and resolution, provide a clearer testing process, and potentially improve overall software quality.