Check patentability & draft patents in minutes with Patsnap Eureka AI!

Software test case generation method based on regular expression failure model

A failure model and software testing technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as high complexity, difficulty in understanding system working mechanism, and high dependence on external tools, so as to achieve independence from auxiliary tools, Easy to master and use, high quality usable effects

Active Publication Date: 2022-08-05
NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although models such as interface automata have powerful expressive capabilities, they are highly complex, not only difficult to model and construct, but also difficult to use
On the one hand, the automaton model mainly expresses the internal state transition mechanism of the system, which can only be given after research by experienced industry experts. It is difficult for ordinary users to understand the complete internal working mechanism of the system
On the other hand, automaton model construction requires complex auxiliary tool support, such as special drawing tools, etc., not only to describe the model vividly, but also to consider issues such as storage, which is highly dependent on external tools and difficult to apply
For the above reasons, the method based on the automaton model is rarely used in the first-line testing practice

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
  • Software test case generation method based on regular expression failure model
  • Software test case generation method based on regular expression failure model
  • Software test case generation method based on regular expression failure model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention is suitable for componentized software that performs interaction between modules based on the DDS subscription and publication specification. In order to clearly illustrate the method, the technical solution of the method will be described in detail below with reference to the accompanying drawings.

[0026] 1. Phase 1 (modeling failure modes based on extended expressions)

[0027] Reasonable expression of failure modes for subscribing and publishing component-based software is the basis for generating system test cases. The method proposed by the present invention models the failure modes by extending the syntax and semantics of regular expressions, and the obtained failure model includes two parts: the sequence mode and the Data mode, which respectively describes the characteristics of the failure mode in terms of time series and the value requirements in terms of data. Since the common failure modes in the subscription-publishing component-based...

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 discloses a software test case generation method based on a regular expression failure model, and belongs to the field of computer software development. The method includes the following steps: modeling the failure mode in the subscription-publishing component software, expressing the time-series characteristics of events in the failure mode with a sequence mode represented by an extended regular expression, and expressing the value of the failure mode in terms of data with a data mode According to the sequence mode, a specific test event sequence is generated based on the automaton technology; based on the data mode, specific test data is generated for each event in the event sequence to obtain a complete failure model. test case. The invention expresses the failure model of the subscription-publishing component software through a new extended regular expression mode, the model has strong expression ability, and can export test cases, which provides a usability for the system testing and integration testing of the subscription-publishing component software. strong and effective way.

Description

technical field [0001] The invention relates to a software test case generation method based on a regular expression failure model, and belongs to the field of computer software development. Background technique [0002] Data Distribution Service (DDS) is a technology that is applied to the information integration of distributed real-time systems and ensures the interconnection and interoperability of distributed real-time systems. The advantages of strong scalability, etc., can realize the separation of software and hardware, data acquisition and application. In view of the advantages of DDS technology in information integration, DDS technology is widely used in national defense, civil aviation, industrial control and other fields, becoming a distributed real-time system. One of the standard solutions for sending and receiving data in China. [0003] In order to detect the implementation quality of the subscription-published component-based software system based on DDS tec...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684
Inventor 钱巨程浩李昌建
Owner NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More