-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu_driven_main.py
24 lines (20 loc) · 959 Bytes
/
menu_driven_main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import asyncio
from VertexAI.VertexAI_agent import run_vertexai_agent
from TestcaseGenerator.Testcase_generator_agent import run_testcase_generator_agent
from TestcaseExecutor.Testcase_executor_agent import run_testcase_executor_agent
from TestcaseReportGenerator.Testcase_report_generator_agent import run_testcase_report_generator_agent
while True:
choice = int(input("Enter the choice to run the agent:\n\n1. Vertex AI\n2. Testcase Generator\n3. Testcase Executor\n4. Testcase Report Generator\n\nEnter your choice: "))
match choice:
case 1:
asyncio.run(run_vertexai_agent())
case 2:
testcases = asyncio.run(run_testcase_generator_agent())
print(type(testcases))
print(testcases)
case 3:
asyncio.run(run_testcase_executor_agent())
case 4:
asyncio.run(run_testcase_report_generator_agent())
case 0:
break