借助AI大模型帮助生成测试用例
AutoGenTestCase/
├── .new_env/
├── __pycache__/
├── hooks/
│ └── __pycache__/
├── img/
├── README.md
├── TESTCASE_READER_SYSTEM_MESSAGE.txt
├── TESTCASE_WRITER_SYSTEM_MESSAGE.txt
├── config.ini
├── llms.py
├── page.py
├── requirements.txt
├── run.py
└── run.spec
- 安装依赖:
uv pip install -r requirements.txt
- 配置API Key:
- 按照下方说明申请DeepSeek和通义千问的API Key
- 将API Key填写到config.ini文件中
- 运行程序:
streamlit run page.py
- 请确保Python版本为3.8或以上
- 首次使用需要申请API Key并填写到配置文件中
- 使用前请仔细阅读模型收费标准,避免产生意外费用
- 建议在虚拟环境中运行本项目
https://pan.baidu.com/s/1Cftl4BiWh_reU-oCwW3aMg 提取码:6bwu
1、链接:https://platform.deepseek.com/api_keys
2、注册账号并登录
3、创建apikey

1、链接:https://bailian.console.aliyun.com/?tab=model#/api-key
2、注册账号并登录(可直接用支付宝账号登录)
3、创建apikey
