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

A method for test case reduction based on RDF reasoning

A test case and test path technology, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve problems that cannot guarantee excellent results, and achieve the goal of improving test quality, improving efficiency, and reducing burden. Effect

Active Publication Date: 2019-03-12
NANJING UNIV OF POSTS & TELECOMM
View PDF10 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Based on these algorithms, T.Y.Chen and M.F.Lau proposed a new heuristic algorithm for test case set simplification. This algorithm not only combines the advantages of the greedy algorithm and the heuristic algorithm proposed by M.J.Harrold, but also fully considers the elimination 1-1 redundancy strategy, and use the simulation method to study the performance of these algorithms, which provides some reference and guidance for the actual use of these algorithms, but these methods cannot guarantee that the results produced are optimal

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
  • A method for test case reduction based on RDF reasoning
  • A method for test case reduction based on RDF reasoning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Below in conjunction with accompanying drawing, technical scheme of the present invention is described in detail (as appended figure 1 , described in 2)

[0023] A method for reducing test cases based on RDF reasoning, starting from the HTML source code of the page, using tools to extract RDFa information and saving it as an xml file, generating an RDF graph, analyzing the relationship between page elements, and using Jena tools for reasoning , while generating the RDF graph with perfect relationship, the test path is generated at the same time, compared with the previous test cases, the test cases are added, deleted and modified, and finally a streamlined test case set that meets the test requirements is obtained. figure 1 The overall process of the inventive method is provided, and the specific implementation steps are as follows:

[0024] The concrete steps of described step 1 are:

[0025] Step 1.1, the source code is analyzed, and the information of RDF is extrac...

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

The invention provides a test case reduction method based on RDF reasoning, which comprises a preprocessing step, an OWL modeling, a preliminary reasoning, a further reasoning and a test case reduction. This method extracts the RDF information from the HTML source code containing RDFa and generates the initial RDF graph. Make use of the tool to build the owl model, and finish the preliminary reasoning work; Analyzing the relationship between elements in owl model, perfecting the attributes of elements, designing reasoning rules, deducing the hidden relationship between page elements by using reasoning tools, generating perfect RDF diagram; Combined with the principle of generating test cases from RDF diagrams, all test paths are marked, and the generated test paths are reduced according tothe test paths, and finally a simplified test suite is generated. This method can generate a wide range of small number of reduced test suite, and improve the test efficiency, reduce the test cost.

Description

technical field [0001] The invention provides a test case reduction method, which mainly uses the RDF reasoning mechanism to find out the implicit relationship between page elements, and generates an RDF graph, compares the RDF graph and the generated test cases, and compares the generated test cases Reductions are made to generate test cases with extensive coverage. Background technique [0002] With the continuous development of science and technology, computer applications with computer hardware as the carrier and software as the soul have penetrated into all walks of life, playing an increasingly important role in improving work efficiency and quality of work for people and transforming traditional industries. The rapid development of science has brought great convenience to people's life, but it has also brought safety problems. The problems of software quality and low productivity of software products have been paid more and more attention by people, and have become t...

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
IPC IPC(8): G06F11/36
CPCG06F11/3684
Inventor 张迎周孙仪高扬竺殊荣张灿
Owner NANJING UNIV OF POSTS & TELECOMM
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