Creating test templates based on steps in existing tests

US9098634B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9098634-B2
Application numberUS-201313892819-A
CountryUS
Kind codeB2
Filing dateMay 13, 2013
Priority dateMay 13, 2013
Publication dateAug 4, 2015
Grant dateAug 4, 2015

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Example embodiments relate to creating test templates based on steps in existing tests. In example embodiments, a testing computing device may select an existing test from multiple existing tests. Each existing test of the multiple existing tests may include a set of distinct steps. The testing computing device may determine a sub-sequence related to the selected existing test. The sub-sequence may be based on a subset of the distinct steps included in the selected existing test. The testing computing device may determine that the distinct steps in the subset occur in a number of existing tests from the multiple existing tests, and may generate a test template using the sub-sequence. The test template may include the distinct steps in the subset.

First claim

Opening claim text (preview).

The invention claimed is: 1. A testing computing device for creating test templates based on steps in existing tests, the testing computing device comprising: a processor to: select an existing test from multiple existing tests, wherein each existing test of the multiple existing tests includes a set of distinct steps; determine a sub-sequence related to the selected existing test, wherein the sub-sequence is based on a subset of the distinct steps included in the selected existing test; determine that the distinct steps in the subset occur in a number of existing tests from the multiple existing tests; determine that the number of existing tests within which the distinct steps in the subset occur is greater than an occurrences threshold; and generate a test template using the sub-sequence, wherein the test template includes the distinct steps in the subset. 2. The testing computing device of claim 1 , wherein the processor is further to create, for each existing test, a step identifier sequence that includes a number of step identifiers, one for each distinct step of the particular existing test, and wherein the sub-sequence includes a number of step identifiers, one for each of the distinct steps in the subset. 3. The testing computing device of claim 1 , wherein the determination that the distinct steps in the subset occur in a number of existing tests is further to determine that the step identifiers of the sub-sequence occur in a number of step identifier sequences associated with the multiple existing tests. 4. The testing computing device of claim 1 , wherein the processor is further to access a repository that associates distinct steps with step identifiers, wherein the repository is accessed to create the step identifier sequences for the existing tests. 5. The testing computing device of claim 4 , wherein the generation of the test template includes accessing the repository to determine a distinct step associated with each step ID of the sub-sequence. 6. A method for creating test templates based on steps in existing tests, the method comprising: accessing multiple existing tests, wherein each existing test includes a number of distinct steps; for each existing test of the multiple existing tests, creating a step identifier sequence that includes a set of unique step identifiers, one for each distinct step in the existing test; selecting one of the step identifier sequences to be a prototype; determining a number of sub-sequences associated with the prototype, wherein each sub-sequence includes a different subset of the unique step identifiers included in the prototype; determining, for each of the sub-sequences, an occurrence count that indicates how many of the step identifier sequences include all of the unique step identifiers of the particular sub-sequence; selecting one of the sub-sequences based on the occurrence count associated with the selected sub-sequence; and creating a test template from the selected sub-sequence, wherein the test template includes the distinct steps associated with the unique step identifiers of the selected sub-sequence. 7. The method of claim 6 , wherein selecting one of the sub-sequences based on the occurrence count includes determining that the occurrence count is greater than an occurrences threshold. 8. The method of claim 6 , wherein the selection of one of the sub-sequences is further based on the number of unique step identifiers included in the sub-sequence. 9. The method of claim 6 , further comprising creating a list of the sub-sequences that is sorted or grouped based on the occurrence count of each sub-sequences and/or the number of unique step identifiers in each sub-sequence, wherein selecting one of the sub-sequences includes using the list. 10. The method of claim 6 , further comprising maintaining a repository that associates distinct steps with step identifiers, wherein creating the step identifier sequences for each existing test includes accessing the repository. 11. A non-transitory machine-readable storage medium encoded with instructions executable by a processor of a testing computing device for creating test templates based on steps in existing tests, the machine-readable storage medium comprising: instructions to analyze multiple existing tests to identify, for each existing test, a number of distinct steps; instructions to determine a set of distinct steps, wherein the distinct steps of the set are distinct steps found in at least one of the existing tests, and wherein the length of the set equals the number of distinct steps in the set; instructions to determine that the set of distinct steps is valuable as a test template based on the length of the set and/or based on the distinct steps of the set being found in a number of the existing tests; and instructions to generate a test template based on the set of distinct steps, wherein the determination that the set of distinct steps is valuable is further based on the number of the existing tests within which the distinct steps are found being greater than an occurrences threshold. 12. The non-transitory machine-readable storage medium of claim 11 , wherein the distinct steps of the multiple existing tests are testing steps provided by at least one testing tool. 13. The non-transitory machine-readable storage medium of claim 11 , wherein the set of distinct steps is determined based on one of the existing tests selected to be a prototype.

Assignees

Inventors

Classifications

  • Generation of test inputs, e.g. test vectors, patterns or sequences {; with adaptation of the tested hardware for testability with external testers} · CPC title

  • for test design, e.g. generating new test cases · CPC title

  • Test management · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9098634B2 cover?
Example embodiments relate to creating test templates based on steps in existing tests. In example embodiments, a testing computing device may select an existing test from multiple existing tests. Each existing test of the multiple existing tests may include a set of distinct steps. The testing computing device may determine a sub-sequence related to the selected existing test. The sub-sequence…
Who is the assignee on this patent?
Hewlett Packard Development Lp, Hewlett Packard Development Co
What technology area does this patent fall under?
Primary CPC classification G06F11/3684. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 04 2015 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).