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

A software unit test case management system

A test case and unit testing technology, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc. Improve test quality and test efficiency, good versatility and reusability, and avoid the effect of low query efficiency

Active Publication Date: 2018-08-31
BEIJING RES INST OF PRECISE MECHATRONICS CONTROLS +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, there are various unit testing tools on the market to detect software coverage, but in the process of designing use cases, testers must design a test case every time they perform a coverage test according to the characteristics of program modules, until Until the coverage rate reaches 100%, or the coverage test is completed, the manual setting tasks are heavy, the modification frequency is more frequent, and the test efficiency is relatively low
[0004] At the same time, in addition to the low efficiency of manually writing test cases, the management of test cases has become increasingly prominent. With the continuous upgrading, revision, and reuse of software products, test case files have also increased, and a large number of test case files are scattered. On different computers, the quality of test cases written by different testers is uneven. Test cases are usually stored in Excel or Word file format, or a single test case file. There is no better and efficient test case management tool , which will consume a lot of time and labor costs in the unit testing process

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 software unit test case management system
  • A software unit test case management system
  • A software unit test case management system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0058] In this embodiment, the serial port operation file RS422.c in a certain monitoring project is used as the data to be tested, and the test case generation rule module is called to analyze and parse the data to be tested to obtain the file to be tested RS422.tct, and then the file to be tested RS422 The .tct import use case automatically generates modules, and several function modules are obtained through data analysis. Here, the tested function void DecodeRS422 (Uint16uiCmdWord) is used as an example to introduce.

[0059] Where DecodeRS422 is the function name,

[0060] Uint16uiCmdWord is the input parameter,

[0061] After the analysis, the variable uiCmdWord will be displayed in the cell. By analyzing the data to be tested, one or more sets of different values ​​can be set for the variable to meet the test coverage requirements. During the assignment process, fixed information and changing information are distinguished. Assignment is used as change information, and t...

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 unit test case management system which comprises a case automatic generation module, a basic information management module, a retrieval match module and a case management module, wherein the case automatic generation module achieves the functions of data import, data analysis, data edition and data export, can generate a batch test case TCF file and import the file into a test tool to be executed automatically; the case management module can match test cases with basic information to form a process test case and a typical test case in the case management module, form a test case set, manage the test case set and facilitate the re-edition and reuse of the test cases; the retrieval match module can quickly and efficiently retrieve the finished test cases. For the characteristics that embedded servo software is large in code quantity and high in similarity, the software unit test case management system is high in automation degree and comprehensive and standard in test case, improves the unit test efficiency and the test quality, also improves the reuse rate of the test cases, and reduces the labor cost.

Description

technical field [0001] The invention relates to a software unit test case management system, which belongs to the technical field of software test. Background technique [0002] With the increasing complexity of embedded applications in the field of aviation and aerospace, and the continuous improvement of the performance of servo control systems, the requirements for software reliability and safety on missiles are getting higher and higher, and the proportion of embedded software in models is increasing. The older the software quality, the more attention it receives from the industry, which makes the role of unit testing increasingly prominent. Unit testing not only focuses on unit functions, but also on the logical structure of program modules. The purpose is to discover the logic and errors of program design or implementation, and expose problems early. Easy to locate and solve problems. [0003] At present, there are various unit testing tools on the market to detect so...

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/3672G06F11/3684
Inventor 丁怀龙刘海山樊茜焦震宋茜张建国
Owner BEIJING RES INST OF PRECISE MECHATRONICS CONTROLS
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