IP Library Granted Patent US 9,928,162
Granted Patent B2
US 9,928,162 · App. 14/671,141 · Granted Mar 27, 2018

Identifying severity of test execution failures by analyzing test execution logs

Inventors: Christopher L. Brealey (Markham, CA); Shinoj Zacharias (Bangalore, IN)
Assignee: International Business Machines Corporation
G06F11/3692G06F11/0781G06F11/0766G06F11/0778G06F11/302G06F11/3065G06F11/3409G06F11/3636G06F11/3688
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,928,162
App. No.
14/671,141
Granted
Mar 27, 2018
Kind
B2
Abstract

The method includes identifying a test report log for a regression test. The method further includes identifying one or more errors in the identified test report log. The method further includes determining a severity category for the one or more identified errors in the identified test report log. The method further includes determining a severity category for the identified test report log based on the determined severity category for the one or more identified errors in the identified test report log.

Claims (70)

1. A method for determining severity of execution test failures, the method comprising:

identifying, by one or more computer processors, a test report log from a regression test;

identifying, by one or more computer processors, one or more errors in the identified test report log;

determining, by one or more computer processors, a severity category for the one or more identified errors in the identified test report log; and

determining, by one or more computer processors, a severity category for the identified test report log based on the determined severity category for the one or more identified errors in the identified test report log wherein determining a severity category for the identified test report log comprises:

determining, by one or more computer processors, if the regression test executed successfully but the regression test has checkpoint failures;

assigning, by one or more computer processors, a severity category to the identified test report log based upon the checkpoint failures;

identifying, by one or more computer processors, a warning associated with the one or more errors in the identified test report log;

identifying, by one or more computer processors, a previous test report log with a similar warning associated with the identified one or more errors in the identified test report log;

assigning, by one or more computer processors, a severity category assigned to the previous test report log to the identified test report log;

identifying, by one or more computer processors, at least one preset error message that matches an error message included in the identified test report log and corresponds to a plurality of severity categories;

determining, by one or more computer processors, a severity category from a plurality of severity categories that includes a most identical preset error message in relation to error messages in the identified test report log;

identifying, by one or more computer processors, one or more messages for trace and bug log files;

assigning, by one or more computer processors, a severity category, from a plurality of severity categories, to the identified test report log based on the identified one or more messages for trace and bug log files;

and

determining, by one or more computer processors, a severity category for the identified test report log based on the determined severity category for the one or more identified errors in the identified test report log.

2. The method of claim 1 , wherein determining a severity category for the identified test report log, further comprises:

determining, by one or more computer processors, a percentage completion that corresponds to the identified test report log based on the identified one or more errors; and

assigning, by one or more computer processors, a severity category, from a plurality of severity categories, to the identified test report log based on the determined percentage completion.

3. The method of claim 1 , wherein determining a severity category for the identified test report log, further comprises:

identifying, by one or more computer processors, a number of user interfaces without proper accessibility; and

assigning, by one or more computer processors, a severity category, from a plurality of severity categories, to the identified test report log based on the determined identified number of user interfaces without proper accessibility.

4. A computer program product for determining severity of execution test failures, the computer program product comprising:

one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising:

program instructions to identify a test report log for a regression test;

program instructions to identify one or more errors in the identified test report log;

program instructions to determine a severity category for the one or more identified errors in the identified test report log; and

program instructions to determine a severity category for the identified test report log based on the determined severity category for the one or more identified errors in the identified test report log wherein determining a severity category for the identified test report log comprises:

program instructions to determine if the regression test executed successfully but the regression test has checkpoint failures;

program instructions to assign a severity category to the identified test report log based upon the checkpoint failures;

program instructions to identify a warning associated with the one or more errors in the identified test report log;

program instructions to identify a previous test report log with a similar warning associated with the identified one or more errors in the identified test report log;

program instructions to assign a severity category assigned to the previous test report log to the identified test report log;

program instructions to identify at least one preset error message that matches an error message included in the identified test report log and corresponds to a plurality of severity categories;

program instructions to determine a severity category from a plurality of severity categories that includes a most identical preset error message in relation to error messages in the identified test report log;

program instructions to identify one or more messages for trace and bug log files;

program instructions to assign a severity category, from a plurality of severity categories, to the identified test report log based on the identified one or more messages for trace and bug log files;

and

program instructions to determine a severity category for the identified test report log based on the determined severity category for the one or more identified errors in the identified test report log.

5. The computer program product of claim 4 , wherein program instructions to determine a severity category for the identified test report log further comprises program instructions to:

determine a percentage completion that corresponds to the identified test report log based on the identified one or more errors; and

assign a severity category, from a plurality of severity categories, to the identified test report log based on the determined percentage completion.

6. The computer program product of claim 4 , wherein program instructions to determine a severity category for the identified test report log further comprises program instructions to:

identify a number of user interfaces without proper accessibility; and

assign a severity category, from a plurality of severity categories, to the identified test report log based on the determined identified number of user interfaces without proper accessibility.

7. A computer system for determining severity of execution test failures, the computer system comprising:

one or more computer processors;

one or more computer readable storage media;

program instructions stored on the computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising:

program instructions to identify a test report log for a regression test;

program instructions to identify one or more errors in the identified test report log;

program instructions to determine a severity category for the one or more identified errors in the identified test report log; and

program instructions to determine a severity category for the identified test report log based on the determined severity category for the one or more identified errors in the identified test report log wherein determining a severity category for the identified test report log comprises:

program instructions to determine if the regression test executed successfully but the regression test has checkpoint failures;

program instructions to assign a severity category to the identified test report log based upon the checkpoint failures;

program instructions to identify a warning associated with the one or more errors in the identified test report log;

program instructions to identify a previous test report log with a similar warning associated with the identified one or more errors in the identified test report log;

program instructions to assign a severity category assigned to the previous test report log to the identified test report log;

program instructions to identify at least one preset error message that matches an error message included in the identified test report log and corresponds to a plurality of severity categories;

program instructions to determine a severity category from a plurality of severity categories that includes a most identical preset error message in relation to error messages in the identified test report log;

program instructions to identify one or more messages for trace and bug log files;

program instructions to assign a severity category, from a plurality of severity categories, to the identified test report log based on the identified one or more messages for trace and bug log files;

and

program instructions to determine a severity category for the identified test report log based on the determined severity category for the one or more identified errors in the identified test report log.

8. The computer system of claim 7 , wherein program instructions to determine a severity category for the identified test report log further comprises program instructions to:

determine a percentage completion that corresponds to the identified test report log based on the identified one or more errors; and

assign a severity category, from a plurality of severity categories, to the identified test report log based on the determined percentage completion.

9. The computer system of claim 7 , wherein program instructions to determine a severity category for the identified test report log further comprises program instructions to:

identify a number of user interfaces without proper accessibility; and

assign a severity category, from a plurality of severity categories, to the identified test report log based on the determined identified number of user interfaces without proper accessibility.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 27, 2015
From: BREALEY, CHRISTOPHER L.; ZACHARIAS, SHINOJ
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 035275/0279 →
Continuity (1)
Related Publication 20160283344A1 · Sep 29, 2016