Search

EP-4740105-A1 - METHOD AND SYSTEM FOR IMPLEMENTING AUTOMATED TOOL FOR REGRESSION TESTING

EP4740105A1EP 4740105 A1EP4740105 A1EP 4740105A1EP-4740105-A1

Abstract

The present disclosure relates to a method and a system for implementing automated tool for regression testing The disclosure encompasses: receiving, by a transceiver unit [202], one or more component names as a user input on a user interface, wherein, the one or more component names are stored in a database; identifying, by an identification unit [204], a set of impacted application programming interfaces (APIs) based on the received one or more component names; identifying, by the identification unit [204], a set of external systems associated with each of the impacted API; identifying, a set of products associated with each of the external system from the set of external systems; identifying set of journeys associated with each of the product from the set of products; identifying a set of regression test cases associated with the set of journeys; performing automatically an execution of the identified set of regression test cases.

Inventors

  • Jha, Shailesh
  • BHATNAGAR, AAYUSH
  • KASHYAP, Namrata
  • Singla, Deepanshu
  • KHETARPAL, Deepika

Assignees

  • Jio Platforms Limited

Dates

Publication Date
20260513
Application Date
20240703

Claims (19)

  1. 1. A method for implementing an automated tool for regression testing, the method comprising: receiving, by a transceiver unit [202], one or more component names as a user input on a user interface, wherein, the one or more component names are stored in a database; identifying, by an identification unit [204], a set of impacted application programming interfaces (APIs) based on the received one or more component names; identifying, by the identification unit [204], a set of external systems associated with each of the impacted API from the set of impacted APIs; identifying, by the identification unit [204], a set of products associated with each of the external system from the set of external systems; identifying, by the identification unit [204], a set of journeys associated with each of the product from the set of products; identifying, by the identification unit [204], a set of regression test cases associated with the set of journeys; and performing automatically, by a processing unit [206], an execution of the identified set of regression test cases.
  2. 2. The method as claimed in claim 1, wherein, the identified set of external systems is integrated with the one or more component names.
  3. 3. The method as claimed in claim 1, wherein the database comprises: a list of component names, a list of application programming interfaces (APIs), a list of external systems, a list of products, a list of journeys, a list of regression test cases, a data reflecting a relation between each of the component name from the list of component names and the list of APIs, a data reflecting a relation between each of the API from the list of APIs and the list of external systems, a data reflecting a relation between each of the external system from the list of external systems and the list of products, a data reflecting a relation between the list of products and the list of j oumeys, and a data reflecting a relation between the list of journeys and the list of regression test cases.
  4. 4. The method as claimed in claim 3, wherein the list of component names comprises the one or more component names.
  5. 5. The method as claimed in claim 3, wherein, the identifying the set of impacted APIs based on the received one or more component names is based on the data reflecting the relation between each of the component name from the list of component names and the list of APIs, as stored in the database.
  6. 6. The method as claimed in claim 3, wherein, the identifying the set of external systems associated with each of the impacted API from the set of impacted APIs, is based on the data reflecting the relation between each of the API from the list of APIs and the list of external systems, as stored in the database.
  7. 7. The method as claimed in claim 3, wherein, the identifying the set of products associated with each of the external system from the set of external systems, is based on the data reflecting the relation between each of the external system from the list of external systems and the list of products, as stored in the database.
  8. 8. The method as claimed in claim 3, wherein, the identifying the set of journeys associated with each of the product from the set of products, is based on the data reflecting the relation between the list of products and the list of journeys, as stored in the database.
  9. 9. The method as claimed in claim 3, wherein, the identifying the set of regression test cases associated with the set of journeys, is based on the data reflecting the relation between the list of journeys and the list of regression test cases, stored in the database.
  10. 10. A system [200] for implementing an automated tool for regression testing, the system [200] comprising: a transceiver unit [202] configured to: o receive, one or more component names, as a user input on a user interface, wherein, the one or more component names are stored in a database; an identification unit [204], connected at least to the transceiver unit [202], the identification unit [204] configured to: o identify, a set of impacted application programming interfaces (APIs) based on the received one or more component names; o identify, a set of impacted external systems associated with each of the impacted API from the set of impacted APIs; o identify, a set of products associated with each of the external system from the set of external systems; o identify, a set of journeys associated with each of the product from the set of products; o identify, a set of regression test cases associated with the set of journeys; and - a processing unit [206], connected at least to the identification unit [204], the processing unit [206] configured to perform automatically, an execution of the identified regression test cases.
  11. 11. The system [200] as claimed in claim 10, wherein the identified set of external systems is integrated with the one or more components.
  12. 12. The system [200] as claimed in claim 10, wherein the database comprises: a list of component names, a list of application programming interfaces (APIs), a list of external systems, a list of products, a list of journeys, a list of regression test cases, a data reflecting a relation between each of the component name from the list of component names and the list of APIs, a data reflecting a relation between each of the API from the list of APIs and the list of external systems, a data reflecting a relation between each of the external system from the list of external systems and the list of products, a data reflecting a relation between the list of products and the list of journeys, and a data reflecting a relation between the list of journeys and the list of regression test cases.
  13. 13. The system [200] as claimed in claim 12, wherein the list of component names comprises the one or more component names.
  14. 14. The system [200] as claimed in claim 12, wherein, the identifying the set of impacted APIs based on the received one or more component names is based on the data reflecting the relation between each of the component name from the list of component names and the list of APIs, as stored in the database.
  15. 15. The system [200] as claimed in claim 12, wherein, the identifying the set of external systems associated with each of the impacted API from the set of impacted APIs, is based on the data reflecting the relation between each of the API from the list of APIs and the list of external systems, as stored in the database.
  16. 16. The system [200] as claimed in claim 12, wherein, the identifying the set of products associated with each of the external system from the set of external systems, is based on the data reflecting the relation between each of the external system from the list of external systems and the list of products, as stored in the database.
  17. 17. The system [200] as claimed in claim 12, wherein, the identifying the set of journeys associated with each of the product from the set of products, is based on the data reflecting the relation between the list of products and the list of journeys, as stored in the database.
  18. 18. The system [200] as claimed in claim 12, wherein, the identifying the set of regression test cases associated with the set of journeys, is based on the data reflecting the relation between the list of journeys and the list of regression test cases, stored in the database.
  19. 19. A non-transitory computer readable storage medium storing instructions for implementing an automated tool for regression testing, the instructions comprising executable code which, when executed by one or more units of a system [200], causes: a transceiver unit [202] of the system [200] to receive, one or more component names, as a user input on a user interface, wherein, the one or more component names are stored in a database; an identification unit [204] of the system [200] to: identify, a set of impacted application programming interfaces (APIs) based on the received one or more component names, identify, a set of impacted external systems associated with each of the impacted API from the set of impacted APIs, identify, a set of products associated with each of the external system from the set of external systems, identify, a set of journeys associated with each of the product from the set of products, and identify, a set of regression test cases associated with the set of journeys; and a processing unit [206] of the system [200] to perform automatically, an execution of the identified regression test cases.

Description

METHOD AND SYSTEM FOR IMPLEMENTING AUTOMATED TOOL FOR REGRESSION TESTING FIELD OF THE DISCLOSURE [0001] The present disclosure relates generally to the field of software testing. More particularly, the present disclosure relates to methods and systems for implementing an automated tool for regression testing. BACKGROUND [0002] The following description of related art is intended to provide background information pertaining to the field of the disclosure. This section may include certain aspects of the art that may be related to various features of the present disclosure. However, it should be appreciated that this section be used only to enhance the understanding of the reader with respect to the present disclosure, and not as admissions of prior art. [0003] Typically, when a software is developed, various levels of testing is performed to ensure that the software is running as per the requirements. When any change is made to such developed and already tested software, it is important to redo the testing process to ensure that the software still performs as per the requirements. This is known as regression testing. The changes that may require regression testing include bug fixes, software enhancements, configuration changes, and even substitution of electronic components. A regression pack comprises a set of test cases executed for every new release or software. Traditionally, execution of the full regression test pack consumes more time and resource utilization. [0004] Further, over the period of time various solutions have been developed to develop automated regression repository tools. However, there are certain challenges with existing solutions. In the existing solutions, a full regression test pack was executed resulting in more time and resource utilization. Also, existing solutions failed to identify regression test cases required for impacted systems or products for every new feature delivery during the Software development lifecycle (SDLC). [0005] Thus, there exists an imperative need in the art to develop an automated regression repository tool, which the present disclosure aims to address. OBJECTS OF THE INVENTION [0006] Some of the objects of the present disclosure, which at least one embodiment disclosed herein satisfies are listed herein below. [0007] It is an object of the present disclosure to provide a system and a method for an automated regression repository tool. [0008] It is another object of the present disclosure to provide a solution that identifies the exact impacted products, journeys and test cases, thereby reducing the overall regression test execution timeline and increasing test efficiency and resource utilization. SUMMARY [0009] This section is provided to introduce certain aspects of the present disclosure in a simplified form that are further described below in the detailed description. This summary is not intended to identify the key features or the scope of the claimed subject matter. [0010] An aspect of the present disclosure may relate to a method for implementing an automated tool for regression testing. The method comprises receiving, by a transceiver unit, one or more component names as a user input on a user interface, wherein, the one or more component names are stored in a database. Further, the method comprises identifying, by the identification unit, a set of external systems associated with each of the impacted API from the set of impacted APIs. Further, the method comprises identifying, by the identification unit, a set of products associated with each of the external system from the set of external systems. Further, the method comprises identifying, by the identification unit, set of journeys associated with each of the product from the set of products. Further, the method comprises identifying, by the identification unit, a set of regression test cases associated with the set of journeys. Further, the method comprises performing automatically, by a processing unit, an execution of the identified set of regression test cases. [0011] In an exemplary aspect of the present disclosure, the identified set of external systems is integrated with the one or more component names. [0012] In an exemplary aspect of the present disclosure, the database comprises a list of component names, a list of application programming interfaces (APIs), a list of external systems, a list of products, a list of journeys, a list of regression test cases, a data reflecting a relation between each of the component name from the list of component names and the list of APIs, a data reflecting a relation between each of the API from the list of APIs and the list of external systems, a data reflecting a relation between each of the external system from the list of external systems and the list of products, a data reflecting a relation between the list of products and the list of journeys, and a data reflecting a relation between the list of journeys and the list of regression test cases.