Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for creating functional model of test cases

a functional model and test case technology, applied in the field of testing, can solve the problems of not discovering bugs, prone to bugs in computerized devices, and difficult to design computerized devices at the testing phase,

Inactive Publication Date: 2017-03-02
AIRBNB
View PDF0 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

This patent describes a method for testing a computer system using a set of test cases. Each test case contains free-text and is tagged with one or more tags that are associated with a pre-defined query. The queries are used to determine whether the test case is tagged or not. The test cases are then compared with a functional model that contains information about each tag and its corresponding functional attribute. The functional attribute represents a task that needs to be performed to confirm the tag's presence in the test case. This approach allows for automated testing of computer systems using pre-defined tags and queries.

Problems solved by technology

However, computerized devices are bug-prone, and thus require a testing phase in which the bugs should be discovered.
The testing phase is considered one of the most difficult tasks in designing a computerized device.
The cost of not discovering a bug may be enormous, as the consequences of the bug may be disastrous.
For example, a bug may cause the injury of a person relying on the designated behavior of the computerized device.
Additionally, a bug in hardware or firmware may be expensive to fix, as patching it requires call-back of the computerized device.
Hence, many developers of computerized devices invest a substantial portion of the development cycle to discover erroneous behaviors of the computerized device.
In some cases, a guest user cannot modify permission.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for creating functional model of test cases
  • Method and system for creating functional model of test cases
  • Method and system for creating functional model of test cases

Examples

Experimental program
Comparison scheme
Effect test

an example

[0058]Test case A contains the phrases “coupling facility”; “backup

[0059]Test case B contains the phrases “coupling facility”; “redundancy”

[0060]Tags for test case A: COUPLING_FACILITY, BACKUP

[0061]Tags for test case B: COUPLING_FACILITY, REDUNDANCY

[0062]Meta tag (maps to a concept): All test cases matching the search phrase COUPLING_FACILITY AND (BACKUP OR REDUNDANCY) will be tagged via the tag COPULING_FACILITY_RESILIENCY

[0063]When a new defect fix comes in, having to do with coupling facility resiliency, the matching tags can be automatically applied.

[0064]The identification of the concept for the incoming defect can also be automated, for example via searching for the terms underlying the concept tag (in this case ‘coupling facility’ AND (backup OR redundancy)

[0065]The disclosed subject matter may be used as a method for semi-automatically assisting users in making informal concepts explicit. The concepts are captured to a level in which actions can be based on them. An example...

an embodiment

[0075]In some exemplary embodiments, the clustering may be able to identify test cases which appear to perform similar actions on similar objects. The user could easily assert with a high confidence level that the test cases belonging to a cluster are related without having to read the entire free-text. Using statistics about the cluster's “closeness” and reading a select few test cases may be sufficient to comprehend the nature of the test cases of the cluster. Depending on the number and size of the clusters, this may even reduce the necessary work by an order of magnitude.

[0076]Our clustering solution assumes that each test cases may be decomposed into steps—assumption which is valid most of the time. As an example, each line may be considered as a step. Additionally or alternatively, each step may be numbered in the free-text.

[0077]The clustering utilizes a metric for comparing how close / far any two test cases are based on a custom metric:

[0078]First, the unique steps in all tes...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A method, product and apparatus for creating functional model of test cases. The method comprising obtaining a set of test cases, wherein each test case of the set of test cases comprises free-text; defining one or more tags, wherein each tag of the one or more tags is associated with a query that is configured, when applied, to determine possession of the tag with respect to a test case based on the free-text; applying the queries on the set of test cases to determine possession of the of the one or more tags for each test case; and generating a functional model based on the set of test cases, wherein the functional model comprising for each tag of the one or more tags, a corresponding functional attribute.

Description

TECHNICAL FIELD[0001]The present disclosure relates to testing in general, and to testing using functional models of test suites, in particular.BACKGROUND[0002]Computerized devices control almost every aspect of our life—from writing documents to controlling traffic lights. However, computerized devices are bug-prone, and thus require a testing phase in which the bugs should be discovered. The testing phase is considered one of the most difficult tasks in designing a computerized device. The cost of not discovering a bug may be enormous, as the consequences of the bug may be disastrous. For example, a bug may cause the injury of a person relying on the designated behavior of the computerized device. Additionally, a bug in hardware or firmware may be expensive to fix, as patching it requires call-back of the computerized device. Hence, many developers of computerized devices invest a substantial portion of the development cycle to discover erroneous behaviors of the computerized devi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(United States)
IPC IPC(8): G06F11/36
CPCG06F11/3692G06F11/3684
Inventor RAZ, ORNATACKETT, RANDALL L.WOJCIAK, PAUL A.ZALMANOVICI, MARCELZLOTNICK, AVIAD
Owner AIRBNB
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products