WO2022227314A1 - Procédé et appareil de test synchrone dynamique, dispositif et support d'enregistrement - Google Patents

Procédé et appareil de test synchrone dynamique, dispositif et support d'enregistrement Download PDF

Info

Publication number
WO2022227314A1
WO2022227314A1 PCT/CN2021/109147 CN2021109147W WO2022227314A1 WO 2022227314 A1 WO2022227314 A1 WO 2022227314A1 CN 2021109147 W CN2021109147 W CN 2021109147W WO 2022227314 A1 WO2022227314 A1 WO 2022227314A1
Authority
WO
WIPO (PCT)
Prior art keywords
sql
variable
script
tested
executed
Prior art date
Application number
PCT/CN2021/109147
Other languages
English (en)
Chinese (zh)
Inventor
李武钊
Original Assignee
深圳壹账通智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2022227314A1 publication Critical patent/WO2022227314A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Definitions

  • the identification module is used to identify the input parameters of each of the SQL single-step statements through the Eclipse tool, and obtain an input parameter list corresponding to each of the SQL single-step statements;
  • a connection to the source database corresponding to the database information is established through the Mybatis tool, and a single-step parsing process is performed on the script to be executed to generate at least An SQL single-step statement, including:

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

L'invention concerne un procédé et un appareil de test synchrone dynamique, un dispositif et un support d'enregistrement, se rapportant au domaine du test fonctionnel. Le procédé comprend : l'acquisition d'un fichier à tester, ledit fichier à tester comprenant des informations de base de données, un script à exécuter et une liste de tests de variables (S10) ; l'établissement d'une connexion à une base de données source correspondant aux informations de base de données au moyen d'un outil MyBatis, l'exécution d'une analyse syntaxique à une étape sur le script à exécuter et la génération d'au moins une instruction SQL à une étape (S20) ; l'exécution d'une identification de paramètre d'entrée sur chaque instruction SQL à une étape au moyen d'un outil Eclipse et l'obtention d'une liste de paramètres d'entrée (S30) ; la réalisation d'une génération de script dynamique sur chaque instruction SQL à une étape selon la liste de test de variables et la liste de paramètres d'entrée et au moyen de l'outil Eclipse, et la génération d'un script SQL à une étape à tester (S40) ; la réalisation d'un test synchrone sur tous les scripts SQL à une étape à tester au moyen de l'outil MyBatis, et l'obtention d'un résultat à une étape (S50) ; et la sortie d'un résultat de test correspondant au fichier à tester (S60). Le présent procédé met donc en œuvre la génération dynamique automatisée d'un script SQL en une seule étape à tester au moyen d'un outil MyBatis et d'un outil Eclipse et effectue des tests simultanés et la sortie des résultats des tests, un cycle de test est raccourci et les coûts des tests sont réduits.
PCT/CN2021/109147 2021-04-25 2021-07-29 Procédé et appareil de test synchrone dynamique, dispositif et support d'enregistrement WO2022227314A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110449563.9A CN112988595A (zh) 2021-04-25 2021-04-25 动态同步测试方法、装置、设备及存储介质
CN202110449563.9 2021-04-25

Publications (1)

Publication Number Publication Date
WO2022227314A1 true WO2022227314A1 (fr) 2022-11-03

Family

ID=76340088

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/109147 WO2022227314A1 (fr) 2021-04-25 2021-07-29 Procédé et appareil de test synchrone dynamique, dispositif et support d'enregistrement

Country Status (2)

Country Link
CN (1) CN112988595A (fr)
WO (1) WO2022227314A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116032813A (zh) * 2022-12-29 2023-04-28 龙尚科技(上海)有限公司 通信模块测试方法、装置、电子设备及存储介质
CN116366609A (zh) * 2023-06-02 2023-06-30 天津金城银行股份有限公司 全局唯一标识生成方法、***、计算机和可读存储介质
CN116701237A (zh) * 2023-08-09 2023-09-05 北京集度科技有限公司 测试脚本生成及测试方法、设备及存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988595A (zh) * 2021-04-25 2021-06-18 深圳壹账通智能科技有限公司 动态同步测试方法、装置、设备及存储介质
CN116881244B (zh) * 2023-06-05 2024-03-26 易智瑞信息技术有限公司 一种基于列存数据库的空间数据的实时处理方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100287214A1 (en) * 2009-05-08 2010-11-11 Microsoft Corporation Static Analysis Framework for Database Applications
CN109101415A (zh) * 2018-06-25 2018-12-28 平安科技(深圳)有限公司 基于数据库比对的接口测试方法、***、设备和存储介质
CN109408381A (zh) * 2018-10-10 2019-03-01 四川新网银行股份有限公司 一种基于数据校验模板的产品数据自动校验平台及方法
CN110221967A (zh) * 2019-05-20 2019-09-10 深圳壹账通智能科技有限公司 测试数据构造方法、装置、计算机设备和存储介质
CN112988595A (zh) * 2021-04-25 2021-06-18 深圳壹账通智能科技有限公司 动态同步测试方法、装置、设备及存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9823995B2 (en) * 2014-08-28 2017-11-21 Sap Se Structured query language debugger
CN108399130A (zh) * 2018-02-28 2018-08-14 平安科技(深圳)有限公司 自动生成测试案例的方法、装置、设备及可读存储介质
CN110347598B (zh) * 2019-07-10 2023-11-28 上海达梦数据库有限公司 一种测试脚本生成方法、装置、服务器及存储介质
CN110765152B (zh) * 2019-09-18 2023-05-30 平安科技(深圳)有限公司 Sql提取方法、装置、计算机设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100287214A1 (en) * 2009-05-08 2010-11-11 Microsoft Corporation Static Analysis Framework for Database Applications
CN109101415A (zh) * 2018-06-25 2018-12-28 平安科技(深圳)有限公司 基于数据库比对的接口测试方法、***、设备和存储介质
CN109408381A (zh) * 2018-10-10 2019-03-01 四川新网银行股份有限公司 一种基于数据校验模板的产品数据自动校验平台及方法
CN110221967A (zh) * 2019-05-20 2019-09-10 深圳壹账通智能科技有限公司 测试数据构造方法、装置、计算机设备和存储介质
CN112988595A (zh) * 2021-04-25 2021-06-18 深圳壹账通智能科技有限公司 动态同步测试方法、装置、设备及存储介质

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116032813A (zh) * 2022-12-29 2023-04-28 龙尚科技(上海)有限公司 通信模块测试方法、装置、电子设备及存储介质
CN116032813B (zh) * 2022-12-29 2024-07-12 龙尚科技(上海)有限公司 通信模块测试方法、装置、电子设备及存储介质
CN116366609A (zh) * 2023-06-02 2023-06-30 天津金城银行股份有限公司 全局唯一标识生成方法、***、计算机和可读存储介质
CN116366609B (zh) * 2023-06-02 2023-09-01 天津金城银行股份有限公司 全局唯一标识生成方法、***、计算机和可读存储介质
CN116701237A (zh) * 2023-08-09 2023-09-05 北京集度科技有限公司 测试脚本生成及测试方法、设备及存储介质
CN116701237B (zh) * 2023-08-09 2023-12-29 北京集度科技有限公司 测试脚本生成及测试方法、设备及存储介质

Also Published As

Publication number Publication date
CN112988595A (zh) 2021-06-18

Similar Documents

Publication Publication Date Title
WO2022227314A1 (fr) Procédé et appareil de test synchrone dynamique, dispositif et support d'enregistrement
WO2021037196A1 (fr) Procédé et appareil de détection de vulnérabilités de code de contrat intelligent, dispositif informatique et support de stockage
US8782609B2 (en) Test failure bucketing
WO2022142613A1 (fr) Procédé et appareil d'expansion de corpus de formation et procédé et appareil de formation de modèle de reconnaissance d'intention
AU2010319344B2 (en) Managing record format information
US8887135B2 (en) Generating test cases for functional testing of a software application
CN113220782B (zh) 多元测试数据源生成方法、装置、设备及介质
WO2021217846A1 (fr) Procédé et appareil de traitement de données d'interface, et dispositif informatique et support de stockage
WO2021258848A1 (fr) Procédé et appareil de génération de dictionnaire de données, procédé et appareil d'interrogation de données, et dispositif et support
WO2020206840A1 (fr) Procédé et appareil de traduction de code, dispositif informatique et support de stockage
CN109325042B (zh) 处理模版获取方法、表格处理方法、装置、设备及介质
JP2018505506A (ja) 機械ベースの命令編集
CN112181489A (zh) 代码迁移方法、装置、计算机设备及存储介质
WO2020206838A1 (fr) Procédé et appareil de traduction de fragment de code, dispositif informatique et support d'informations
CN113961768B (zh) 敏感词检测方法、装置、计算机设备和存储介质
CN115827895A (zh) 一种漏洞知识图谱处理方法、装置、设备及介质
CN111897946A (zh) 漏洞补丁推荐方法、***、计算机设备和存储介质
CN108388606B (zh) 一种校验Sql语句中库表字段名的方法以及计算机设备
CN110955608A (zh) 测试数据处理方法、装置、计算机设备和存储介质
CN106547765B (zh) 基于sql的数据库管理方法及装置
CN111309596A (zh) 数据库测试方法、装置、终端设备及存储介质
US10592400B2 (en) System and method for creating variants in a test database during various test stages
WO2021259290A1 (fr) Procédé et appareil de conversion de procédure stockée, et dispositif et support de stockage
GB2513348A (en) Translation validation
WO2019148797A1 (fr) Procédé de traitement de langage naturel, dispositif, appareil informatique et support de stockage

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21938780

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 220324)