CN116097227A - 基于变更相关性分析的测试用例选择方法及装置 - Google Patents
基于变更相关性分析的测试用例选择方法及装置 Download PDFInfo
- Publication number
- CN116097227A CN116097227A CN202080104035.3A CN202080104035A CN116097227A CN 116097227 A CN116097227 A CN 116097227A CN 202080104035 A CN202080104035 A CN 202080104035A CN 116097227 A CN116097227 A CN 116097227A
- Authority
- CN
- China
- Prior art keywords
- test case
- candidate
- test
- candidate test
- correlation
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 617
- 230000008859 change Effects 0.000 title claims abstract description 100
- 238000010187 selection method Methods 0.000 title claims abstract description 24
- 238000010219 correlation analysis Methods 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 65
- 238000005259 measurement Methods 0.000 claims abstract description 42
- 230000008569 process Effects 0.000 claims abstract description 39
- 238000012545 processing Methods 0.000 claims abstract description 18
- 230000001960 triggered effect Effects 0.000 claims abstract description 11
- 238000012827 research and development Methods 0.000 claims abstract description 4
- 238000004891 communication Methods 0.000 claims description 35
- 238000003860 storage Methods 0.000 claims description 6
- 230000010354 integration Effects 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 2
- 238000012795 verification Methods 0.000 abstract description 21
- 238000012423 maintenance Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 21
- 238000011161 development Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 8
- 238000001514 detection method Methods 0.000 description 6
- 238000012384 transportation and delivery Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000007547 defect Effects 0.000 description 4
- 238000011156 evaluation Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000002688 persistence Effects 0.000 description 3
- 238000013522 software testing Methods 0.000 description 3
- 238000012549 training Methods 0.000 description 3
- 230000002411 adverse Effects 0.000 description 2
- 238000010924 continuous production Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 241000529895 Stercorarius Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000003339 best practice Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011056 performance test Methods 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000000275 quality assurance Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3676—Test management for coverage analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
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
一种适用于研发运维一体化流程的基于变更相关性分析的测试用例选择方法及装置,在该方法中,获取针对应用程序执行的历史测试用例集的分布式跟踪记录以及应用程序变更的代码变化信息,所述分布式跟踪记录用于示出测试用例执行时触发的用户事务在应用程序中的处理流程。此外,根据分布式跟踪记录和代码变化信息,确定候选测试用例集中的各个候选测试用例相对于应用程序变更的相关性度量值。然后,根据各个候选测试用例的相关性度量值,从候选测试用例集中选择目标测试用例。利用该方法,可以以自动化方式来根据具体代码变动以及质量验证目标选择相关性最佳的测试用例集,由此在应用程序的持续演进和变更过程中确保软件交付质量。
Description
PCT国内申请,说明书已公开。
Claims (20)
- PCT国内申请,权利要求书已公开。
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/117921 WO2022061779A1 (zh) | 2020-09-25 | 2020-09-25 | 基于变更相关性分析的测试用例选择方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116097227A true CN116097227A (zh) | 2023-05-09 |
Family
ID=80847058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202080104035.3A Pending CN116097227A (zh) | 2020-09-25 | 2020-09-25 | 基于变更相关性分析的测试用例选择方法及装置 |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP4202689A4 (zh) |
CN (1) | CN116097227A (zh) |
WO (1) | WO2022061779A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117520211A (zh) * | 2024-01-08 | 2024-02-06 | 江西财经大学 | 基于多维覆盖矩阵的随机组合测试用例生成方法与系统 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9720813B2 (en) * | 2015-08-13 | 2017-08-01 | Ca, Inc. | Method and apparatus for recommending regression tests |
CN107515826B (zh) * | 2017-08-28 | 2020-12-01 | 阿里巴巴(中国)有限公司 | 测试用例精准推荐方法、装置、系统、设备及存储介质 |
CN108427637B (zh) * | 2018-01-18 | 2021-05-25 | 平安科技(深圳)有限公司 | 测试案例推荐方法、电子装置及可读存储介质 |
CN110413506B (zh) * | 2019-06-19 | 2023-02-03 | 平安普惠企业管理有限公司 | 测试用例推荐方法、装置、设备及存储介质 |
CN111209217A (zh) * | 2020-03-12 | 2020-05-29 | 苏州浪潮智能科技有限公司 | 系统软件功能测试方法、装置、设备及存储介质 |
-
2020
- 2020-09-25 CN CN202080104035.3A patent/CN116097227A/zh active Pending
- 2020-09-25 EP EP20954631.6A patent/EP4202689A4/en active Pending
- 2020-09-25 WO PCT/CN2020/117921 patent/WO2022061779A1/zh unknown
Also Published As
Publication number | Publication date |
---|---|
EP4202689A4 (en) | 2024-05-22 |
EP4202689A1 (en) | 2023-06-28 |
WO2022061779A1 (zh) | 2022-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9710257B2 (en) | System and method to map defect reduction data to organizational maturity profiles for defect projection modeling | |
US7757125B2 (en) | Defect resolution methodology and data defects quality/risk metric model extension | |
US7890808B2 (en) | Testing software applications based on multiple data sources | |
US20140033174A1 (en) | Software bug predicting | |
WO2016188170A1 (zh) | 测试方法和装置、设备、计算机存储介质 | |
Kapur et al. | When to release and stop testing of a software | |
Lity et al. | Applying incremental model slicing to product-line regression testing | |
Lachmann et al. | Fine-grained test case prioritization for integration testing of delta-oriented software product lines | |
CN116097227A (zh) | 基于变更相关性分析的测试用例选择方法及装置 | |
US20080126063A1 (en) | Simulation System with Guided Backtracking | |
Brodie et al. | Automated problem determination using call-stack matching | |
CN115840560A (zh) | 一种用于软件开发过程的管理系统 | |
Christi et al. | Target selection for test-based resource adaptation | |
RU128741U1 (ru) | Система формирования решения проблем функционирования компьютерных систем | |
Ponaraseri et al. | Using the planning game for test case prioritization | |
Kim et al. | Eliminating products to test in a software product line | |
Benes et al. | Reliability analysis in component-based development via probabilistic model checking | |
JP2012145987A (ja) | ソフトウェア性能問題指摘方法 | |
Al-Daajeh et al. | A tactic-based framework to evaluate the relationships between the software product quality attributes | |
TWI735511B (zh) | 代碼提交方法和設備 | |
EP2246789A1 (en) | Method and system for verifying a system operation | |
Sun et al. | CARIAL: Cost-aware software reliability improvement with active learning | |
Soomro et al. | Fault localization models in debugging | |
Huang et al. | An optimized change-driven regression testing selection strategy for binary Java applications | |
Ali et al. | Software Reliability Analysis |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |