Method and system for associating logs and traces to test cases
First Claim
1. A method for associating logs and traces to test cases during a life-cycle of code development and testing, for a network or plurality of computing devices, said method comprising the steps of:
- associating a first application to one or more of said network or plurality of computing devices;
associating a first role of multiple roles to a first one of said network or plurality of computing devices;
for said first one of said network or plurality of computing devices, configuring a path, a trace, and a log;
providing multiple profiles;
wherein a first profile of said multiple profiles comprises said first role and said log;
providing a test design document;
wherein said test design document comprises a first test case and definitions;
wherein said test case is associated with said multiple profiles;
said first test case describing how to test and what to test;
wherein said first test case comprising post-condition and pre-condition;
defining a template, associated to said first application, to provide a path to corresponding log and trace;
customizing said template with identity of one or more of corresponding devices among said network or plurality of computing devices where said corresponding log and trace are located;
executing said first test case, and generating said log and said trace on a test environment or a test device, to track problems, issues, and bugs;
said first test case indicating a failure or a success; and
if said first test case indicates a failure, thendetermining which one or more roles of said multiple roles within which one or more profiles of said multiple profiles is associated with said first test case, based on said test design document;
indicating which of said one or more of corresponding devices contributing to said failure, based on said determined one or more roles within said determined one or more profiles;
automatically gathering corresponding logs and traces, associated with said determined one or more roles within said determined one or more profiles, in a database repository; and
automatically providing said corresponding logs and traces to a code developer, and said code developer accessing said corresponding logs and traces to track the exact cause of said failure, and to avoid issues related to the lack of synchronization, timing, concurrency, and reproducibility.
1 Assignment
0 Petitions
Accused Products
Abstract
One of the examples is to define and use the concept of “Logs/Traces Profile” and “System Logs/Traces Profile” (including a role and the log and trace file locations), and incorporate them within the test design document. Each test design document can be associated to each test case to highlight which logs and traces need to be collected during its execution. In this way, the testers will know which logs and traces to provide to the code developers, when addressing an issue. In this way, developer can investigate the bug, understand them, and be able to fix the problem, especially due to timing, synchronization, and concurrency.
-
Citations
1 Claim
-
1. A method for associating logs and traces to test cases during a life-cycle of code development and testing, for a network or plurality of computing devices, said method comprising the steps of:
-
associating a first application to one or more of said network or plurality of computing devices; associating a first role of multiple roles to a first one of said network or plurality of computing devices; for said first one of said network or plurality of computing devices, configuring a path, a trace, and a log; providing multiple profiles; wherein a first profile of said multiple profiles comprises said first role and said log; providing a test design document; wherein said test design document comprises a first test case and definitions; wherein said test case is associated with said multiple profiles; said first test case describing how to test and what to test; wherein said first test case comprising post-condition and pre-condition; defining a template, associated to said first application, to provide a path to corresponding log and trace; customizing said template with identity of one or more of corresponding devices among said network or plurality of computing devices where said corresponding log and trace are located; executing said first test case, and generating said log and said trace on a test environment or a test device, to track problems, issues, and bugs; said first test case indicating a failure or a success; and if said first test case indicates a failure, then determining which one or more roles of said multiple roles within which one or more profiles of said multiple profiles is associated with said first test case, based on said test design document; indicating which of said one or more of corresponding devices contributing to said failure, based on said determined one or more roles within said determined one or more profiles; automatically gathering corresponding logs and traces, associated with said determined one or more roles within said determined one or more profiles, in a database repository; and automatically providing said corresponding logs and traces to a code developer, and said code developer accessing said corresponding logs and traces to track the exact cause of said failure, and to avoid issues related to the lack of synchronization, timing, concurrency, and reproducibility.
-
Specification