测试
这是PaltON-Go的自动化测试项目
安装和操作依赖性
安装python 3.7环境并配置pip,然后执行以下命令以安装依赖项库:
pip install -r requirements.txt
运行测试
执行所有测试用例
pytest test_start.py --nodeFile " deploy/4_node.yml " --accountFile " deploy/accounts.yml " --initChain
在多种环境下执行
pytest " case_path " --nodeFile " node_file_1,node_file_2 " --accountFile " deploy/accounts.yml " --initChain -n 2
注意:节点配置文件的数量必须等于线程的数量,并且多个节点配置文件由英文“,”分隔
pytest命令行参数
-
评论0
最新资源