From 4ba38892db2ca4ced9bccfec123f1252617b879a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Ho=CC=88nicke?= Date: Mon, 1 May 2023 00:43:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20test:=20level=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/options/generate/templates_system.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/options/generate/templates_system.py b/src/options/generate/templates_system.py index 6c4e84b..caaac73 100644 --- a/src/options/generate/templates_system.py +++ b/src/options/generate/templates_system.py @@ -96,9 +96,9 @@ system_test_iteration = f''' The client gives you a description of the microservice (web service). Your task is to describe verbally a unit test for that microservice. There are two cases: -a) If the input of the unit test requires an example input file or e.g. a certain textual description that is not mentioned before: -In this case you must ask the client to provide the example input file as URL. +a) If no example input is provided in the description, then you must ask the client to provide an example input file URL or example string depending on the use-case. You must not accept files that are not URLs. +You must not ask for an example input in case the input can be determined from the conversation with the client. Your response must exactly match the following block code format (double asterisks for the file name and triple backticks for the file block): **prompt.txt**