发明名称 SYSTEM AND METHOD FOR FACILITATING CHANGE BASED TESTING OF A SOFTWARE CODE USING ANNOTATIONS
摘要 The present disclosure discloses system and method for facilitating change based testing of a software code using annotations. The software code modified by a first-user may be received. The modification is done at a code level in the software code. The system prompts the first-user to insert annotations corresponding to the modification. Further, the system itself inserts a hash values corresponding to the modification. Further, the annotations are encrypted by the system. Further, the software code is converted into software binary comprising the tin notations and the hash value. The system further enables a second user to trace the modifications by comparing the hash value with a previous hash value, extracting the annotations, and identifying code elements impacted due to the modification. Further, the code elements modified are mapped with their respective operation attributes. Based on the mapping, traceability matrix is generated which is utilized by the second user for testing.
申请公布号 US2017010955(A1) 申请公布日期 2017.01.12
申请号 US201615178542 申请日期 2016.06.09
申请人 HCL Technologies Limited 发明人 CHACKO Simy;PONAKALA Suresh Naidu;DHANYAMRAJU S U M Prasad;SHOLAYAPPAN Shiva
分类号 G06F11/36;G06F9/44 主分类号 G06F11/36
代理机构 代理人
主权项 1. A method for facilitating a change based testing of a software code, the method comprising: receiving, by a processor, a software code being modified by a first user, wherein the software code comprises a plurality of annotations inserted by the first user, and wherein the plurality or annotations correspond to a plurality of modules present in the software code, and wherein each module is at least one of a method, a function, and a subroutine associated with the software code, and wherein each module comprises a plurality of code elements, and wherein each code element is associated with at least one operational attribute of a plurality of operational attributes associated with the software code; inserting, by the processor, a hash value corresponding to at least one module, of the plurality of modules, modified by the first user; converting, by the processor, the software code into a software binary comprising the plurality of annotations, in an encrypted form, and the hash value; enabling, by the processor, a second user to trace the modification done by the first user in the software code by: comparing the hash value of the at least one module in the software binary with a hash value of the at least one module in a previous binary version of the software code,extracting one or more annotations, of the plurality of annotations, associated with the at least one module of the software binary based on the comparison, andidentifying one or more code elements, in the at least one module, impacted based upon the modification done in the at least one module, wherein the one or more code elements are identified based on the modification; mapping, by the processor, the one or more code elements with one or more operational attributes of the plurality of operational attributes, and generating, by the processor, a traceability matrix based on the mapping, wherein the traceability matrix is used by the second user in order to test the software code being modified by the first user.
地址 Uttar Pradesh IN