IP Library Granted Patent US 7,210,066
Granted Patent B2
US 7,210,066 · App. 10/334,415 · Granted Apr 24, 2007

Method and system for determining computer software test coverage

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,210,066
App. No.
10/334,415
Granted
Apr 24, 2007
Kind
B2
Abstract

A method for analyzing a test coverage of a software application specification by a test suite is provided. The method includes reading an assertion document for a specification. The assertion document has a corresponding tagged assertion for each assertion in the specification. Each tagged assertion is defined in a markup language. The method also includes reading a static file for defining tests of the test suite. The static file is defined in the markup language. The test suite is divided into tests and each test is divided into test cases. The static file is configured to include an entry for each test case and each entry is configured to include tagged assertions tested by the test case. Also included in the method is correlating each of the tagged assertions in the assertion document with the test cases in the static file so as to determine test coverage of the specification.

Claims (39)

1. A method for analyzing a test coverage of a software application specification by a test suite, the method comprising:

reading an assertion document for a specification, the assertion document having a corresponding tagged assertion for each assertion in the specification, each tagged assertion being defined in a markup language;

reading a static file for defining tests of the test suite, the static file being defined in the markup language, the test suite being divided into tests, each test being divided into test cases, the static file configured to include an entry for each test case, and each entry configured to include tagged assertions tested by the test case; and

correlating each of the tagged assertions in the assertion document with the test cases in the static file so as to determine test coverage of the specification.

2. A method as recited in claim 1 , wherein the static file is defined in an extensible markup language (XML).

3. A method as recited in claim 1 , wherein each tagged assertion in the assertion document is marked in XML.

4. A method as recited in claim 1 , wherein correlating each of the tagged assertions in the assertion document with the test cases in the static file so as to determine the test coverage of the specification includes,

determining the test coverage of a particular tagged assertion in the assertion document.

5. A method as recited in claim 1 , wherein correlating each of the tagged assertions in the assertion document with the test cases in the static file so as to determine the test coverage of the specification includes,

locating test cases covering each of the tagged assertions containing a particular keyword.

6. A method as recited in claim 1 , wherein the software application specification is an enterprise application.

7. A method for analyzing a test coverage of a plurality of software application specifications by a plurality of test suites, the method comprising:

reading assertion documents for each specification, each assertion document having a corresponding tagged assertion for each assertion in the respective specification, each tagged assertion being defined in a markup language;

reading a static file defining tests of each test suite, each static file being defined in the markup language, each test suite being divided into tests, each test being divided into test cases, each static file configured to include an entry for each respective test case, and each entry configured to include tagged assertions tested by the test case; and

correlating each of the tagged assertions in each assertion document with test cases in the corresponding static file so as to determine test coverage of each specification by each test suite.

8. A method as recited in claim 7 , wherein the specification is tested by a plurality of test suites.

9. A method as recited in claim 7 , further comprising, receiving a user query for the test coverage of a specific tagged assertion by a particular test suite; and

correlating data in the assertion documents with data in the static files so as to determine the test coverage of the specific tagged assertion by the particular test suite.

10. A method as recited in claim 7 , further comprising receiving a user query for the test coverage of tagged assertions including a given keyword by test suites; and

correlating tagged assertions including the given keyword in assertion documents with test suites so as to determine the test coverage of tagged assertions including the given keyword by test suites.

11. A method as recited in claim 7 , wherein the markup language of each static file is an extensible markup language (XML).

12. A method as recited in claim 7 , wherein the markup language used to mark each tagged assertion in assertion documents is XML.

13. A method as recited in claim 7 , wherein software applications are enterprise applications.

14. A computer program embodied on a computer readable medium for analyzing a test coverage of a software application specification, the computer program comprising:

program instructions for interfacing with an assertion file containing a plurality of assertions defined in the specification, the plurality of assertions in the assertion file tagged in a markup language;

the assertion file having a corresponding tagged assertion for each assertion in the specification;

program instructions for interfacing with a static file for a test suite, the test suite configured to test the specification;

the static file being defined in a markup language, the test suite being divided into tests, each test being divided into test cases, the static file configured to include an entry for each test case, each entry of the static file configured to include tagged assertions tested by the test case;

program instructions for correlating data in each of the tagged assertions from the assertion file with data in the static file so as to provide a response to a request for a particular data; and

program instructions for receiving the request for the particular data so as to determine test coverage of the specification.

15. A computer program as recited in claim 14 , wherein the markup language is an extensible markup language (XML).

16. A computer program as recited in claim 14 , wherein the static file is defined using a markup language.

17. A computer program as recited in claim 16 , wherein the markup language is XML.

18. A computer program as recited in claim 14 , further including,

program instructions for tagging assertions in the software application specification.

19. A computer program as recited in claim 14 , further including,

program instructions for receiving a query from a user, the query including a keyword;

program instructions for locating tagged assertions in the assertion file including the keyword; and

program instructions for correlating tagged assertions in the assertion file including the keyword with test cases in the static file.

Assignments (3)
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/0732 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 16, 2003
From: ARCAND, JEAN-FRANCOIS
To: SUN MICROSYSTEMS, INC.
Reel/Frame 013990/0174 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 31, 2002
From: MANDAVA, RAMESH BABU
To: SUN MICROSYSTEMS, INC.
Reel/Frame 013636/0502 →