AUTOMATIC TEST SCENARIO GENERATION DEVICE

The objective of the present disclosure is automatic generation of regression test scenarios which reduces time required in a case of manual work. An automatic test scenario generation device (101) according to the present disclosure comprises: a scenario generation unit (13) that generates a regres...

Full description

Saved in:
Bibliographic Details
Main Author KAWAI Takehiro
Format Patent
LanguageEnglish
French
Japanese
Published 07.09.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The objective of the present disclosure is automatic generation of regression test scenarios which reduces time required in a case of manual work. An automatic test scenario generation device (101) according to the present disclosure comprises: a scenario generation unit (13) that generates a regression test scenario; a command execution unit (11) that outputs, to a test object (16), a first command group formed of a plurality of first commands and the regression test scenario and obtains a response result from the test object (16); and a recording unit (12) that records a command log. The scenario generation unit (13) generates, on the basis of the command log of the first command group, a first regression test scenario in which a plurality of second commands identical to the plurality of first commands are arranged in the same order and with the same wait times as those of the plurality of first commands in the first command group, and reduces the wait time for at least one second command in a second regression test scenario compared to the first regression test scenario to such an extent that the response result is consistent with that of the first regression test scenario. L'objectif de la présente divulgation est la génération automatique de scénarios de test de régression qui réduit le temps requis dans un cas de travail manuel. Un dispositif de génération de scénario de test automatique (101) selon la présente divulgation comprend : une unité de génération de scénario (13) qui génère un scénario de test de régression ; une unité d'exécution de commandes (11) qui délivre, à un objet de test (16), un premier groupe de commandes formé d'une pluralité de premières commandes et du scénario de test de régression et obtient un résultat de réponse à partir de l'objet de test (16) ; et une unité d'enregistrement (12) qui enregistre un journal de commandes. L'unité de génération de scénario (13) génère, sur la base du journal de commandes du premier groupe de commandes, un premier scénario de test de régression dans lequel une pluralité de secondes commandes identiques à la pluralité de premières commandes sont agencées dans le même ordre et avec les mêmes temps d'attente que ceux de la pluralité de premières commandes dans le premier groupe de commandes, et réduit le temps d'attente pour au moins une seconde commande dans un second scénario de test de régression par rapport au premier scénario de test de régression dans une mesure telle que le résultat de réponse est cohérent avec celui du premier scénario de test de régression. 本開示は、人手作業により生じる時間を削減した回帰テストシナリオの自動生成を目的とする。本開示のテストシナリオ自動生成装置(101)は、回帰テストシナリオを生成するシナリオ生成部(13)と、複数の第1コマンドからなる第1コマンド群、および回帰テストシナリオをテスト対象(16)に出力し、テスト対象(16)の応答結果を取得するコマンド実行部(11)と、コマンドログを記録する記録部(12)と、を備える。シナリオ生成部(13)は、第1コマンド群のコマンドログに基づき、複数の第1コマンドと同一の複数の第2コマンドが第1コマンド群における複数の第1コマンドの順番および待機時間と同一の順番および待機時間で配列された第1回帰テストシナリオを生成し、応答結果が第1回帰テストシナリオと一致する範囲で、第2回帰テストシナリオにおける少なくとも1つの第2コマンドの待機時間を第1回帰テストシナリオより削減する。
Bibliography:Application Number: WO2022JP41360