IP Library Granted Patent US 9,218,269
Granted Patent B2
US 9,218,269 · App. 13/606,984 · Granted Dec 22, 2015

Testing multiple target platforms

Inventors: Elena Dolinina (Kfar Saba, IL); Lukas Bednar (Hlinsko, CZ)
Assignee: Red Hat Israel, Ltd.
G06F11/3672G06F11/3664G06F11/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,218,269
App. No.
13/606,984
Granted
Dec 22, 2015
Kind
B2
Abstract

An automated REpresentational State Transfer (REST) testing tool receives a file representing a set of tests to run on a target test platform and identifies a type of the file. Then the testing tool parses the file based on the type to extract test parameters, and performs test actions on the target test platform based on the test parameters.

Claims (47)

1. A method comprising:

receiving, by a processing device, a first file representing a set of tests to run on a first target test platform and a second target test platform and a configuration file indicating a test engine of a plurality of test engines, wherein the first target test platform and the second target test platform have different interface standards;

identifying a type of the first file;

parsing, by the processing device, the first file in view of the type to extract test parameters;

adapting the test parameters to an output file that is compatible with the different interface standards of the first target test platform and the second target test platform; and

performing, by the test engine indicated by the configuration file, test actions in parallel on the first target test platform and the second target test platform in view of the test parameters and the different interface standard using a plurality of different communication protocols.

2. The method of claim 1 , wherein the test actions are performed via a REpresentational State Transfer (REST) Application Programming Interface (API).

3. The method of claim 1 , wherein the first file representing the set of tests comprises one of a spreadsheet, an eXtensible Markup Language (XML) file, or a script file.

4. The method of claim 1 , further comprising:

identifying a plug-in associated with at least one of the type of the first file, the set of tests, or at least one of the first target test platform or the second target test platform; and

parsing the first file using the plug-in.

5. The method of claim 1 , wherein the test actions are performed on one of the first target test platform or the second target test platform via an application programming interface (API), a command line interface (CLI), or a software development kit (SDK).

6. The method of claim 1 , further comprising:

identifying, in the test parameters, a subset of test actions to be performed in parallel on one of the first target test platform or the second target test platform; and

executing at least part of the subset of test actions on the at least one of the first target test platform or the second target test platform simultaneously.

7. A system comprising:

a memory comprising instructions; and

a processing device operatively coupled to the memory, the processing device to execute the instructions to:

receive a first file representing a set of tests to run on a first target test platform and a second target test platform and a configuration file indicating a test engine of a plurality of test engines, wherein the first target test platform and the second target test platform have different interface standards;

identify a type of the first file;

parse the first file in view of the type to extract test parameters;

adapt the test parameters to an output file that is compatible with the different interface standards of the first target test platform and the second target test platform;

perform, by the test engine indicated by the configuration file, test actions in parallel on the first target test platform and the second target test platform in view of the test parameters and the different interface standard using a plurality of different communication protocols.

8. The system of claim 7 , the processing device to:

determine an eXtensible Markup Language (XML) format of the first file in view of at least one of a testing framework or one of the first target test platform or the second target test platform.

9. The system of claim 7 , wherein the test parameters comprise at least one of a test name, a test action, parameters, a test positive flag, a run flag, or a report flag.

10. The system of claim 7 , the processing device to:

receive modified test parameters; and

perform additional test actions on at least one of the first target test platform or the second target test platform in view of the modified test parameters.

11. The system of claim 7 wherein the test actions are performed via a REpresentational State Transfer (REST) Application Programming Interface (API).

12. The system of claim 7 , wherein the file representing the set of tests comprises one of a spreadsheet, an eXtensible Markup Language (XML) file, or a script file.

13. The system of claim 7 , the processing device to:

identify a plug-in associated with at least one of the type of the first file, the set of tests, or at least one of the first target test platform or the second target test platform; and

parse the first file using the plug-in.

14. The system of claim 7 , wherein the test actions are performed on one of the first target test platform or the second target test platform via an application programming interface (API), a command line interface (CLI), or a software development kit (SDK).

15. The system of claim 7 , the processing device to:

identify, in the test parameters, a subset of test actions to be performed in parallel on one of the first target test platform or the second target test platform; and

execute at least part of the subset of test actions on the at least one of the first target test platform or the second target test platform simultaneously.

16. A non-transitory computer-readable storage medium comprising instructions which, when executed by a processing device, cause the processing device to:

receive, by the processing device, a first file representing a set of tests to run on a first target test platform and a second target test platform and a configuration file indicating a test engine of a plurality of test engines, wherein the first target test platform and the second target test platform have different interface standards;

identify a type of the first file;

parse the first file in view of the type to extract test parameters;

adapt the test parameters to an output file that is compatible with the different interface standards of the first target test platform and the second target test platform;

perform, by the test engine indicated by the configuration file, test actions in parallel on the first target test platform and the second target test platform in view of the test parameters and the different interface standard using a plurality of different communication protocols.

17. The non-transitory computer-readable storage medium of claim 16 , the processing device to:

extract additional test parameters from the configuration file; and

adapt the additional test parameters to the output file.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 7, 2012
From: DOLININA, ELENA; BEDNAR, LUKAS
To: RED HAT ISRAEL, LTD.
Reel/Frame 028920/0800 →
Continuity (1)
Related Publication 20140075242A1 · Mar 13, 2014