IP Library Granted Patent US 7,191,362
Granted Patent B2
US 7,191,362 · App. 10/241,022 · Granted Mar 13, 2007

Parsing test results having diverse formats

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 7,191,362
App. No.
10/241,022
Granted
Mar 13, 2007
Kind
B2
Abstract

An invention is disclosed for providing methods for parsing test results having diverse formats. Test results from executed test suites are identified. Test result formats of the test results are categorized. An order of the test results is tracked. A chain of parsers is assembled from individual parsers such that each individual parser is charged with parsing a particular test result format. Test results are parsed such that the data features that define attributes of the test results are identified where the attributes define pass, fail, and comments associated with the pass or fail.

Claims (30)

1. A method for parsing test results having diverse formats, comprising:

identifying a set of test results from executed test suites, wherein the set of test results include multiple test result formats, each test result format associated with a different parser;

automatically determining an order in which the multiple test result formats occur in the entire set of test results;

automatically generating a chain of parsers to parse the entire set of test results, wherein the chain of parsers includes multiple parsers sequentially linked such that an order of the test formats respectively associated with the multiple parsers corresponds to the order in which the multiple test result formats occur in the set of test results; and

applying the chain of parsers to parse the entire set of test results.

2. A method as recited in claim 1 , wherein the chain of parsers is defined from individual parsers and each individual parser is charged with parsing a particular test result format.

3. A method as recited in claim 1 , wherein parsing the set of test results by applying the chain of parsers identifies data features that define attributes of the set of test results.

4. A method as recited in claim 3 , wherein the attributes define pass, fail, or comments associated with the pass or fail.

5. A method as recited in claim 1 , wherein applying the chain of parsers includes executing each parser in the chain of parsers by linking to a universal interface of each parser to obtain parsing results.

6. A method for parsing test results having diverse formats, comprising: executing a test harness containing a plurality of test cases to generate a plurality of test results, wherein the plurality of test results are generated in a plurality of test result formats;

automatically determining an order in which the plurality of test result formats occur in the plurality of test results;

automatically generating a chain of parsers including a plurality of parsers sequentially linked such that an order test result formats associated with the plurality of parsers corresponds to the determined order in which the plurality of test formats occur in the plurality of test results, the plurality of parsers in the chain of parsers configured to be interconnected through a universal interface such that each parser in the chain of parsers is able to access other parsers in the chain of parsers.

7. A method as recited in claim 6 , further comprising: linking the chain of parsers with the universal interface.

8. A method as recited in claim 6 , wherein the chain of parsers is defined from individual parsers, and each individual parser is charged with parsing a particular test result format.

9. A method as recited in claim 6 , further comprising:

applying the chain of parsers to parse the plurality of test results, wherein parsing the plurality of test results identifies data features that define attributes of the test results.

10. A method as recited in claim 9 , wherein the attributes define pass, fail, or comments associated with the pass or fail.

11. A method as recited in claim 6 , further comprising:

obtaining parser types corresponding to each test result format type from a parser repository.

12. A computer program embodied on a computer readable medium to parse test results having diverse formats, comprising:

a code segment that identifies a set of test results from executed test suites, wherein the set of test results include multiple test result formats, each test result format associated with a different parser;

a code segment that determines an order in which the multiple test result formats occur in the entire set of test results;

a code segment that generates a chain of parsers to parse the entire set of test results, wherein the chain of parsers includes multiple parsers sequentially linked such that an order of the test formats respectively associated with the multiple parsers corresponds to the order in which the multiple test result formats occur in the set of test results; and

a code segment that applies the chain of parsers to parse the entire set of test results.

13. A computer program as recited in claim 12 , further comprising:

a code segment that links the chain of parsers with a universal interface.

14. A computer program as recited in claim 12 , further comprising:

a code segment to present the test results in a unifying test result format.

15. A computer program as recited in claim 14 , wherein the unifying format is an Extensible Markup Language (XML).

16. A computer program as recited in claim 15 , wherein the XML format is read and presented on a user screen using an XML Style Sheet Language: Transformations (XSLT).

Assignments (2)
MERGER AND CHANGE OF NAME Recorded Dec 16, 2015
From: ORACLE USA, INC.; SUN MICROSYSTEMS, INC.; ORACLE AMERICA, INC.
To: ORACLE AMERICA, INC.
Reel/Frame 037302/0719 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2002
From: BOUDNIK, KONSTANTIN I.; ZHANG, WEIQIANG; VOLKOV, ALEXEI
To: SUN MICROSYSTEMS, INC.
Reel/Frame 013284/0229 →