Abstract: This disclosure relates generally to device testing, and more particularly to a system and method for testing a resource constrained device. In one embodiment, a method is provided for testing a resource constrained device. The method includes determining a test case for testing the resource constrained device, and accessing a test script corresponding to the test case. The test script includes a set of mutually independent primitive executables. The method further includes transmitting each of the set of primitive executables to the resource constrained device for execution, and receiving a result corresponding to the execution of the each of the set of primitive executables. FIG. 5
Claims:WE CLAIM
1. A method for testing a resource constrained device, the method comprising:
determining, via a testing engine, a test case for testing the resource constrained device;
accessing, via the testing engine, a test script corresponding to the test case, wherein the test script comprises a set of mutually independent primitive executables;
transmitting, via the testing engine, each of the set of primitive executables to the resource constrained device for execution; and
receiving, via the testing engine, a result corresponding to the execution of the each of the set of primitive executables.
2. The method of claim 1, further comprising:
creating a plurality of primitive executables; and
determining a plurality of executable execution parameters for each of the plurality of primitive executables.
3. The method of claim 2, wherein each of the plurality of executable execution parameters comprises at least one of a name of the primitive executable, a plurality of input parameters, a plurality of output parameters, an estimated time of execution, an estimated usage of one or more resources, and a coverage of one or more components of the resource constrained device.
4. The method of claim 1, further comprising:
creating a plurality of test scripts corresponding to a plurality of test cases; and
determining a plurality of script execution parameters for each of the plurality of test scripts.
5. The method of claim 4, wherein creating each of the plurality of test scripts comprises:
determining a plurality of steps of the test script; and
determining one or more primitive executables for each of the plurality of steps.
6. The method of claim 5, further comprising at least one of:
determining a dependency of each of the test step with respect to each of a plurality of preceding steps; and
determining a batch execution of the one or more primitive executables for each of the plurality of steps.
7. The method of claim 4, wherein each of the plurality of script execution parameters comprises at least one of an estimated time of execution, an estimated usage of one or more resources, and a coverage of one or more components of the resource constrained device.
8. The method of claim 1, wherein determining the test case comprises:
computing a test score for each of a plurality of test cases based on a plurality of script execution parameters for a corresponding test script; and
selecting the test case based on the test score for each of the plurality of test cases.
9. The method of claim 8, wherein determining the test case further comprises sequencing the test case based on the highest test score.
10. The method of claim 1, wherein transmitting each of the set of primitive executables for execution comprises:
determining an availability of each of one or more resources in the resource constrained device; and
transmitting each of the set of primitive executables to the resource constrained device based on the availability.
11. The method of claim 10, wherein the availability of the each of the one or more resources is determined at a periodic interval or at run time.
12. A system for testing a resource constrained device, the system comprising:
at least one processor; and
a computer-readable medium storing instructions that, when executed by the at least one processor, cause the at least one processor to perform operations comprising:
determining a test case for testing the resource constrained device;
accessing a test script corresponding to the test case, wherein the test script comprises a set of mutually independent primitive executables;
transmitting each of the set of primitive executables to the resource constrained device for execution; and
receiving a result corresponding to the execution of the each of the set of primitive executables.
13. The system of claim 12, wherein the operations further comprise:
creating a plurality of primitive executables; and
determining a plurality of executable execution parameters for each of the plurality of primitive executables, and
wherein each of the plurality of executable execution parameters comprises at least one of a name of the primitive executable, a plurality of input parameters, a plurality of output parameters, an estimated time of execution, an estimated usage of one or more resources, and a coverage of one or more components of the resource constrained device.
14. The system of claim 12, wherein the operations further comprise:
creating a plurality of test scripts corresponding to a plurality of test cases by:
determining a plurality of steps for each of the plurality of test scripts; and
determining one or more primitive executables for each of the plurality of steps; and
determining a plurality of script execution parameters for each of the plurality of test scripts, and
wherein each of the plurality of script execution parameters comprises at least one of an estimated time of execution, an estimated usage of one or more resources, and a coverage of one or more components of the resource constrained device.
15. The system of claim 14, wherein the operations further comprise at least one of:
determining a dependency of each of the test step with respect to each of a plurality of preceding steps; and
determining a batch execution of the one or more primitive executables for each of the plurality of steps.
16. The system of claim 12, wherein determining the test case comprises:
computing a test score for each of a plurality of test cases based on a plurality of script execution parameters for a corresponding test script; and
selecting the test case based on the test score for each of the plurality of test cases.
17. The system of claim 16, wherein determining the test case further comprises sequencing the test case based on the highest test score.
18. The system of claim 12, wherein transmitting each of the set of primitive executables for execution comprises:
determining an availability of each of one or more resources in the resource constrained device; and
transmitting each of the set of primitive executables to the resource constrained device based on the availability.
19. The system of claim 18, wherein the availability of the each of the one or more resources is determined at a periodic interval or at run time.
Dated this 1st day of March, 2017
R Ramya Rao
Of K&S Partners
Agent for the Applicant
, Description:TECHNICAL FIELD
This disclosure relates generally to device testing, and more particularly to system and method for testing a resource constrained device.
| Section | Controller | Decision Date |
|---|---|---|
| # | Name | Date |
|---|---|---|
| 1 | 201741007241-IntimationOfGrant25-05-2023.pdf | 2023-05-25 |
| 1 | Power of Attorney [01-03-2017(online)].pdf | 2017-03-01 |
| 2 | 201741007241-PatentCertificate25-05-2023.pdf | 2023-05-25 |
| 2 | Form 5 [01-03-2017(online)].pdf | 2017-03-01 |
| 3 | Form 3 [01-03-2017(online)].pdf | 2017-03-01 |
| 3 | 201741007241-Written submissions and relevant documents [18-05-2023(online)].pdf | 2023-05-18 |
| 4 | Form 18 [01-03-2017(online)].pdf_98.pdf | 2017-03-01 |
| 4 | 201741007241-AMENDED DOCUMENTS [28-04-2023(online)].pdf | 2023-04-28 |
| 5 | Form 18 [01-03-2017(online)].pdf | 2017-03-01 |
| 5 | 201741007241-Correspondence to notify the Controller [28-04-2023(online)].pdf | 2023-04-28 |
| 6 | Form 1 [01-03-2017(online)].pdf | 2017-03-01 |
| 6 | 201741007241-FORM 13 [28-04-2023(online)].pdf | 2023-04-28 |
| 7 | Drawing [01-03-2017(online)].pdf | 2017-03-01 |
| 7 | 201741007241-POA [28-04-2023(online)].pdf | 2023-04-28 |
| 8 | Description(Complete) [01-03-2017(online)].pdf_97.pdf | 2017-03-01 |
| 8 | 201741007241-US(14)-HearingNotice-(HearingDate-03-05-2023).pdf | 2023-04-20 |
| 9 | 201741007241-FER.pdf | 2021-10-17 |
| 9 | Description(Complete) [01-03-2017(online)].pdf | 2017-03-01 |
| 10 | 201741007241-FER_SER_REPLY [11-02-2021(online)].pdf | 2021-02-11 |
| 10 | REQUEST FOR CERTIFIED COPY [02-03-2017(online)].pdf | 2017-03-02 |
| 11 | 201741007241-FORM 3 [11-02-2021(online)].pdf | 2021-02-11 |
| 11 | PROOF OF RIGHT [19-06-2017(online)].pdf | 2017-06-19 |
| 12 | 201741007241-PETITION UNDER RULE 137 [11-02-2021(online)].pdf | 2021-02-11 |
| 12 | Correspondence by Agent_Form 1_21-06-2017.pdf | 2017-06-21 |
| 13 | 201741007241-REQUEST FOR CERTIFIED COPY [06-02-2018(online)].pdf | 2018-02-06 |
| 13 | REQUEST FOR CERTIFIED COPY [06-07-2017(online)].pdf | 2017-07-06 |
| 14 | 201741007241-REQUEST FOR CERTIFIED COPY [06-02-2018(online)].pdf | 2018-02-06 |
| 14 | REQUEST FOR CERTIFIED COPY [06-07-2017(online)].pdf | 2017-07-06 |
| 15 | 201741007241-PETITION UNDER RULE 137 [11-02-2021(online)].pdf | 2021-02-11 |
| 15 | Correspondence by Agent_Form 1_21-06-2017.pdf | 2017-06-21 |
| 16 | 201741007241-FORM 3 [11-02-2021(online)].pdf | 2021-02-11 |
| 16 | PROOF OF RIGHT [19-06-2017(online)].pdf | 2017-06-19 |
| 17 | REQUEST FOR CERTIFIED COPY [02-03-2017(online)].pdf | 2017-03-02 |
| 17 | 201741007241-FER_SER_REPLY [11-02-2021(online)].pdf | 2021-02-11 |
| 18 | 201741007241-FER.pdf | 2021-10-17 |
| 18 | Description(Complete) [01-03-2017(online)].pdf | 2017-03-01 |
| 19 | 201741007241-US(14)-HearingNotice-(HearingDate-03-05-2023).pdf | 2023-04-20 |
| 19 | Description(Complete) [01-03-2017(online)].pdf_97.pdf | 2017-03-01 |
| 20 | 201741007241-POA [28-04-2023(online)].pdf | 2023-04-28 |
| 20 | Drawing [01-03-2017(online)].pdf | 2017-03-01 |
| 21 | 201741007241-FORM 13 [28-04-2023(online)].pdf | 2023-04-28 |
| 21 | Form 1 [01-03-2017(online)].pdf | 2017-03-01 |
| 22 | 201741007241-Correspondence to notify the Controller [28-04-2023(online)].pdf | 2023-04-28 |
| 22 | Form 18 [01-03-2017(online)].pdf | 2017-03-01 |
| 23 | 201741007241-AMENDED DOCUMENTS [28-04-2023(online)].pdf | 2023-04-28 |
| 23 | Form 18 [01-03-2017(online)].pdf_98.pdf | 2017-03-01 |
| 24 | 201741007241-Written submissions and relevant documents [18-05-2023(online)].pdf | 2023-05-18 |
| 24 | Form 3 [01-03-2017(online)].pdf | 2017-03-01 |
| 25 | Form 5 [01-03-2017(online)].pdf | 2017-03-01 |
| 25 | 201741007241-PatentCertificate25-05-2023.pdf | 2023-05-25 |
| 26 | Power of Attorney [01-03-2017(online)].pdf | 2017-03-01 |
| 26 | 201741007241-IntimationOfGrant25-05-2023.pdf | 2023-05-25 |
| 1 | searchstrategy201741007241E_27-04-2020.pdf |