Incremental code unit testing method and device, computer equipment and storage medium

The invention relates to an incremental code unit testing method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring code change related data; wherein the code change related data comprises programmer identifiers and corresponding code change reco...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WU KAIYING, MA DEHAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to an incremental code unit testing method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring code change related data; wherein the code change related data comprises programmer identifiers and corresponding code change records; performing case screening on the unit test cases according to the code change related data and the case weight parameters to obtain screened single test cases; and performing an execution test on the screened single test cases to obtain an execution test result, and performing parameter adjustment on the related configuration parameters based on the execution test result to obtain adjusted configuration parameters. By adopting the method, the test execution efficiency can be improved, the use case can be effectively executed, and the maintenance cost is reduced. 本申请涉及一种增量代码单元测试方方法、装置、计算机设备和存储介质。所述方法包括:获取代码更改相关数据;其中,代码更改相关数据包括程序员标识及其对应的代码变更记录;根据代码更改相关数据和用例权重参数对单元测试用例进行用例筛选,获得筛选后单测用例;对筛选后单测用例进行执行测试,获得执行测试结果,以及基于