Method and device for generating function test case

The invention discloses a method and device for generating a function test case. The method comprises the steps of: firstly, acquiring test rule information, testing factors and testing factor values corresponding to the testing factors; secondly, generating a corresponding first case for the test r...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LI TONG, YAO QINGFEN, ZHOU ZIJIAN, WANG WENJING, JIA YONGJIE, MA JINQIAN, GAO CHONGYI
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 discloses a method and device for generating a function test case. The method comprises the steps of: firstly, acquiring test rule information, testing factors and testing factor values corresponding to the testing factors; secondly, generating a corresponding first case for the test rule information, taking every acquired testing factor value as a target testing factor value, and matching with testing factor values included in the generated first case, if the match fails, then generating a corresponding second case by using the target testing factor values which are not successfully matched; and finally, merging and de-weighting the first case and the second case, and generating a case list. Compared with the original way of writing cases one by one by testing personnel, the method and the device for generating the function test case provided by the invention reduce the design time of cases, thereby improving the efficiency. 本申请公开的种功能测试案例的生成方法和装置,获取测试规则信息、测试要素、以及测试要素对应的测试要素取值,然后针对测试规则信息生成对应的第案例