IP Library Granted Patent US 7,725,772
Granted Patent B2
US 7,725,772 · App. 11/879,716 · Granted May 25, 2010

Generic template to autogenerate reports for software target testing

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,725,772
App. No.
11/879,716
Granted
May 25, 2010
Kind
B2
Abstract

Apparatus and methods allow users of software testing applications to obtain auto-generated reports. During use, one or more software test cases of a feature of a software target are identified for execution. A template, common to the software cases, autogenerate a first report in a first computing language, e.g., XML, based on test results obtained from the execution. A transformation into one or more second reports in a second computing language, e.g., HTML, occurs so that users can visually understand the report. Preferred aspects include utilizing an existing Java-based JUnit testing framework and an API of Apache Ant. Retrofitting existing software testing applications contemplates inserting executable code, in the form of a template, to obtain auto-generated reports. Executable code is available as a computer program product in the form of a download or on a computer-readable medium. Overall architecture in a virtual machine is another noteworthy aspect.

Claims (38)

1. In a software testing application, a method of auto-generating reports for testing one or more software targets, comprising:

associated with each of the one or more software targets, identifying all software cases to be tested;

executing the identified software cases by way of a template common to the identified software cases, including utilizing a JUnit testing framework and an Ant API, the utilizing avoiding any Ant scripting;

obtaining testing results for the identified software cases having been executed; and

thereafter, auto-generating a report for users of the software testing application including generating a first report in a first computing language for each of the identified software cases and transforming each of the first reports into one or more second reports in a second computing language different from the first computing language, the transforming occurring after the generating the first report for all of the identified software cases.

2. The method of claim 1 , further including specifying a location for delivering the transformed one or more second reports.

3. The method of claim 1 , wherein the transforming further includes calling XSL transforming methods located with the Ant API.

4. In a software testing application, a method of auto-generating reports for users testing one or more software targets, comprising:

invoking an inner class template of executable code including,

identifying all software cases to be tested per each said one or more software targets;

executing each of the identified software cases by utilizing a JUnit testing framework and an Ant API, the utilizing avoiding any Ant scripting; and

thereafter, auto-generating a report for users of the software testing application including generating a first report in an XML computing language for each of the identified software cases and transforming each of the XML reports into one or more second reports in an HTML computing language, the transforming occurring after the generating the XML reports for all of the identified software cases.

5. The method of claim 4 , wherein the identifying all software cases to be tested further includes finding all prefixes labeled as a test.

6. The method of claim 5 , further including determining whether all the prefixes labeled as said test have been executed before the generating the first reports.

7. The method of claim 4 , further including specifying a location for sending the transformed second reports.

8. The method of claim 4 , wherein a proxy class loads the inner class template of executable code before the invoking.

9. The method of claim 4 , further including providing a test fixture class and a main test script class, the main test script class defining the inner class template and the test fixture class defining the generating the first reports and the transforming.

10. The method of claim 9 , wherein the identified all software cases to be tested exist in the main test script class, the inner class template being common to each said identified all software cases to be tested.

11. A software testing application in the form of a computer program product available as a download or on a computer readable media for installation as a process of a virtual machine on one or more computing devices, the software testing application for testing one or more software targets, comprising:

a first component for identifying all software cases to be tested associated with each of the one or more software targets;

a second component, different or same as the first component, for executing the identified software cases by way of a template common to the identified software cases;

a third component, different or same as the first or second components, for obtaining testing results for the identified software cases having been executed; and

a fourth component, different or same as the first, second or third components, for thereafter auto-generating a report for users of the software testing application including generating a first report in a first computing language for each of the identified software cases and transforming each of the first reports into one or more second reports in a second computing language different from the first computing language, the transforming occurring after the generating the first report for all of the identified software cases;

wherein at least one of the components is a JUnit testing framework and an Ant API avoiding Ant scripting.

12. The computer program product of claim 11 , wherein at least one of the components is a main test script class.

13. The computer program product of claim 11 , wherein at least one of the components is an inner class template.

14. A computer program product having a data structure available as a download or on a computer-readable medium, the data structure for insertion as a template into an existing software testing application on one or more computing devices to autogenerate user reports, comprising:

a first data field containing data representing an interaction with the software testing application to identify all software test case code;

a second data field containing data representing a JUnit testing framework and an Ant API, the identified software test case code to be executed through the JUnit testing framework;

a third data field containing data representing the auto-generation of XML reports by way of the Ant API based on testing results for the identified software cases having been executed; and

a fourth data field containing data representing the transformation of the XML reports into another computing language for users, wherein said fourth data field avoids all Ant scripting language.

15. The computer program product of claim 14 , wherein the fourth data field contains data representing the transformation of the XML reports only after the generation of the XML reports has occurred for all of the identified software test case code.

16. The computer program product of claim 14 , wherein at least one of the first, second, third or fourth data fields represents the template as insertable into a main test script class, the template being common to each said identified software test case code also in the main test script class.

17. A method of using a software testing application for testing one or more software targets, comprising:

providing an existing software testing application having no auto-generation of report capability per one or more software cases to be tested; and

adding a template of executable code to the existing software testing application on one or more computing devices to autogenerate user reports for at least one of the software cases to be tested, wherein the template includes a JUnit testing framework and an Ant API avoiding Ant scripting.

18. The method of claim 17 , further including executing the at least one of the software cases to be tested and reporting to a user.

19. The method of claim 17 , further including auto-generating a first report in an XML computing language for the at least one of the software cases to be tested and transforming the first report into one or more second reports in an HTML computing language.

Assignments (16)
RELEASE OF SECURITY INTEREST REEL/FRAME 035656/0251 Recorded Feb 2, 2023
From: JPMORGAN CHASE BANK, N.A.
To: BORLAND SOFTWARE CORPORATION; ATTACHMATE CORPORATION; NETIQ CORPORATION; MICRO FOCUS (US), INC.; MICRO FOCUS SOFTWARE INC. (F/K/A NOVELL, INC.)
Reel/Frame 062623/0009 →
RELEASE OF SECURITY INTEREST REEL/FRAME 044183/0718 Recorded Feb 2, 2023
From: JPMORGAN CHASE BANK, N.A.
To: MICRO FOCUS LLC (F/K/A ENTIT SOFTWARE LLC); BORLAND SOFTWARE CORPORATION; MICRO FOCUS (US), INC.; SERENA SOFTWARE, INC; ATTACHMATE CORPORATION; MICRO FOCUS SOFTWARE INC. (F/K/A NOVELL, INC.); NETIQ CORPORATION
Reel/Frame 062746/0399 →
CORRECTIVE ASSIGNMENT TO CORRECT THE TO CORRECT TYPO IN APPLICATION NUMBER 10708121 WHICH SHOULD BE 10708021 PREVIOUSLY RECORDED ON REEL 042388 FRAME 0386. ASSIGNOR(S) HEREBY CONFIRMS THE NOTICE OF SUCCESSION OF AGENCY. Recorded Jul 26, 2018
From: BANK OF AMERICA, N.A., AS PRIOR AGENT
To: JPMORGAN CHASE BANK, N.A., AS SUCCESSOR AGENT
Reel/Frame 048793/0832 →
SECURITY INTEREST Recorded Oct 11, 2017
From: ATTACHMATE CORPORATION; BORLAND SOFTWARE CORPORATION; NETIQ CORPORATION; MICRO FOCUS (US), INC.; MICRO FOCUS SOFTWARE, INC.; ENTIT SOFTWARE LLC; ARCSIGHT, LLC; SERENA SOFTWARE, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 044183/0718 →
NOTICE OF SUCCESSION OF AGENCY Recorded May 2, 2017
From: BANK OF AMERICA, N.A., AS PRIOR AGENT
To: JPMORGAN CHASE BANK, N.A., AS SUCCESSOR AGENT
Reel/Frame 042388/0386 →
CHANGE OF NAME Recorded Sep 13, 2016
From: NOVELL, INC.
To: MICRO FOCUS SOFTWARE INC.
Reel/Frame 040020/0703 →
SECURITY INTEREST Recorded May 13, 2015
From: MICRO FOCUS (US), INC.; BORLAND SOFTWARE CORPORATION; ATTACHMATE CORPORATION; NETIQ CORPORATION; NOVELL, INC.
To: BANK OF AMERICA, N.A.
Reel/Frame 035656/0251 →
RELEASE OF SECURITY INTEREST RECORDED AT REEL/FRAME 028252/0316 Recorded Nov 24, 2014
From: CREDIT SUISSE AG
To: NOVELL, INC.
Reel/Frame 034469/0057 →
RELEASE OF SECURITY INTEREST RECORDED AT REEL/FRAME 028252/0216 Recorded Nov 24, 2014
From: CREDIT SUISSE AG
To: NOVELL, INC.
Reel/Frame 034470/0680 →
GRANT OF PATENT SECURITY INTEREST FIRST LIEN Recorded May 23, 2012
From: NOVELL, INC.
To: CREDIT SUISSE AG, AS COLLATERAL AGENT
Reel/Frame 028252/0216 →
GRANT OF PATENT SECURITY INTEREST SECOND LIEN Recorded May 23, 2012
From: NOVELL, INC.
To: CREDIT SUISSE AG, AS COLLATERAL AGENT
Reel/Frame 028252/0316 →
RELEASE OF SECURITY IN PATENTS SECOND LIEN (RELEASES RF 026275/0018 AND 027290/0983) Recorded May 22, 2012
From: CREDIT SUISSE AG, AS COLLATERAL AGENT
To: NOVELL, INC.
Reel/Frame 028252/0154 →
RELEASE OF SECURITY INTEREST IN PATENTS FIRST LIEN (RELEASES RF 026270/0001 AND 027289/0727) Recorded May 22, 2012
From: CREDIT SUISSE AG, AS COLLATERAL AGENT
To: NOVELL, INC.
Reel/Frame 028252/0077 →
GRANT OF PATENT SECURITY INTEREST (SECOND LIEN) Recorded May 13, 2011
From: NOVELL, INC.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 026275/0018 →
GRANT OF PATENT SECURITY INTEREST Recorded May 12, 2011
From: NOVELL, INC.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 026270/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 18, 2007
From: PROTO, PHILIP J.
To: NOVELL, INC.
Reel/Frame 019644/0118 →