Test case layout method and device based on to-be-tested line intersection information

A test case, communication technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of waste of human and material resources, waste of human and material resources, etc.

Pending Publication Date: 2021-03-23
TRAFFIC CONTROL TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a method and device for laying out test cases based on cross-road information of the line to be tested, which is used to solve the test task completion caused by testing use cases one by one in the test case library of the project in the existing subway operation scene test technology Inefficient and time-consuming, and repeated testing of the same test cases in the same traffic scene leads to the waste of manpower and material resources. By laying out test cases corresponding to each actual location scene based on the principle of deduplication, the efficiency of test task completion is improved and task consumption is reduced. time, and it can also avoid the waste of human and material resources caused by repeated testing of the same test case in the same traffic scene

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
  • Test case layout method and device based on to-be-tested line intersection information
  • Test case layout method and device based on to-be-tested line intersection information
  • Test case layout method and device based on to-be-tested line intersection information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 010,5 test Embodiment 001、 test Embodiment 002、 test Embodiment 005、 test Embodiment 007 and test Embodiment 009

[0063] Optionally, to deduplicate the test cases included in each of the actual location scenarios, the first step is to determine the union of the test cases included in each of the actual location scenarios, and to determine the union is to count out the tests that need to be performed when performing the test task All the test cases, and the checked test cases are arranged to the corresponding location scenarios to ensure that each test case is only tested once, that is, to avoid repeated testing of the same test case. The subsequent deployment method provided by this embodiment is to sequentially select the location scenarios containing the most test cases in order to provide and concentrate the location scenarios when the test cases need to be tested. For example: there are actual position scene 1, actual position scene 2, actual position scene 3, actual position scene 4, actual position scene 5 and actual position scene 6 a kind of six actual position scenes in the line 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 provides a test case layout method and device based on to-be-tested line intersection information. The method comprises the following steps: extracting actual scene elements and positionattributes in the to-be-tested line intersection information; querying an intersection scene database based on the actual scene elements to determine a template position scene corresponding to the intersection scene to which the to-be-tested line belongs; determining an actual position scene contained in the to-be-tested line based on the position attribute of the to-be-tested line and a templateposition scene corresponding to the intersection scene to which the to-be-tested line belongs; and processing the test cases contained in each actual position scene based on a preset deduplication rule, and determining the test cases needing to be tested in each actual position scene, the intersection scene database comprising pre-stored template intersection scenes, template position scenes andcorresponding relationships among the test cases. According to the method and the device provided by the invention, the test task completion efficiency is improved, the task time consumption is reduced, and the waste of manpower and material resources caused by repeated test of the same test case in the same road crossing scene can be avoided.

Description

technical field [0001] The invention relates to the technical field of automated testing of subway operation scenarios, in particular to a method and device for laying out test cases based on intersection information of a line to be tested. Background technique [0002] At present, when writing CBTC (Communication Based Train Control, communication-based train control) system test cases, test coverage will be performed according to system requirements. Test cases are divided into several modules according to functional requirements, such as CBTC-CM (Code train operating mode, manual driving mode under automatic train protection) function, CBTC-AM (Automatic train operating mode, train automatic driving) function, ITC (Intermediate TrainControl, point train control level)-CM function, ITC-AM, special test, etc. Testers need to test the use cases one by one in the test case library of the project according to the order of the use case library. [0003] The testers manually c...

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(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 刘志翔冷文俊娄玥童韩佳容李媛媛
Owner TRAFFIC CONTROL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products