Method and device for synchronizing test case and test script

A test script and test case technology, applied in the field of test case and test script synchronization, can solve the problems of large workload, reduced accuracy of TC and test script, low synchronization efficiency of TC and test script, etc., to achieve synchronization automation, reduce The effect of omission and improving synchronization efficiency

Active Publication Date: 2016-03-09
ALIBABA GRP HLDG LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, in order to ensure the data consistency between the TC and the test script, the following solutions are usually adopted: in the TC system, manually mark whether the TC has been automated, and if so, set the corresponding test script; or use Some tools directly generate test scripts from the TC system. However, due to the tens of thousands of TC data stored in the TC system, the workload of manual maintenance is huge, which makes the synchronization between TC and test scripts less efficient. omission, reducing the accuracy of TC synchronization with test scripts

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 device for synchronizing test case and test script
  • Method and device for synchronizing test case and test script
  • Method and device for synchronizing test case and test script

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to improve the efficiency and accuracy of synchronizing test cases and test scripts, embodiments of the present application provide a method and apparatus for synchronizing test cases and test scripts.

[0024] The preferred embodiments of the present application will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not intended to limit the present application. The embodiments in and features in the embodiments can be combined with each other.

[0025] like figure 2 As shown, it is a schematic diagram of the implementation flow of the method for synchronizing a test case and a test script provided by the embodiment of the present application, which may include the following steps:

[0026] S201. Scan each test script contained in the test script directory in turn, and when it is determined that the te...

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 method and a device for synchronization of a test case and a test script, wherein the method and the device are used for improving efficiency and accuracy of the synchronization of the test case and the test script. The method for synchronization of the test case and the test script comprises the steps: obtaining script information of the changed test script, wherein the script information comprises script identification; searching a unified identifier which corresponds to the script identification; submitting the script information of the changed test script and the searched unified identifier to a test case (TC) system, and indicating the TC system to carry out synchronization operation on the self-stored corresponding test case; confirming a change type of the changed test case, wherein the change type includes new increasing, modification and deleting; extracting case information which corresponds to the test case, wherein the case information comprises case identification; establishing a new test script when the change type is the new increasing; modifying the corresponding test script when the change type is the modification; and deleting the corresponding relation between the test case and the corresponding test script when the change type is the deleting.

Description

technical field [0001] The present application relates to the technical field of computer testing, and in particular, to a method and apparatus for synchronizing test cases and test scripts. Background technique [0002] In the software product development process, there are two main types of test cases: manual test cases and automated test cases. Manual test case (TC, Testcase) contains a test logic and a set of test parameters, and the tester determines whether the application software or software system can work correctly according to the test case. Usually, the TC is stored in the use case management system (TC system for short), and the TC system can be used to manage the TC, which is usually developed using web technology. Common TC systems include QC, Testuff, and Testlink. Test-automationscript (Test-automationscript), referred to as test script, can complete the automated test of application software or software system with the help of a computer, and is usually st...

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
Inventor 黄小勇胡进军曾建李国栋
Owner ALIBABA GRP HLDG 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