Regression testing method and device

The invention discloses a regression testing method and device. The method comprises the steps that a regression test file is obtained, the regression test file comprises a to-be-tested source code file, a test case file and a component dependency document, and the component dependency document comp...

Full description

Saved in:
Bibliographic Details
Main Authors WU ZHENGZHONG, REN CHAOHUI, ZHANG HUI, DENG NENGWEN, LI XIN, DUAN LIANFENG, WANG XIAODONG
Format Patent
LanguageChinese
English
Published 15.12.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a regression testing method and device. The method comprises the steps that a regression test file is obtained, the regression test file comprises a to-be-tested source code file, a test case file and a component dependency document, and the component dependency document comprises a to-be-tested component identifier and a corresponding component code file; configuring path information of the regression test file; the regression test command line is executed, regression test is carried out on the source code file and the component dependency document based on the path information, a test result and a test coverage rate are generated, the test result is used for representing whether the code function is tested by the test case or not, and the test coverage rate is generated. The test coverage rate is used for representing the proportion of the tested code function to all code functions in the source code file. According to the method and the device, the technical problem of low efficienc
Bibliography:Application Number: CN202311187412