pytest运行参数
时间: 2023-10-28 18:59:05 浏览: 131
Pytest参数化parametrize使用代码实例
pytest运行参数有以下几种:
1. 在pytest后面不跟任何参数的字符串,会认为是文件或目录,会在这些指定的目录或文件中查找用例进行运行。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Pytest 运行参数](https://blog.csdn.net/minzhung/article/details/103333853)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [[pytest] 运行方式、常用参数、前后置条件](https://blog.csdn.net/wy_hhxx/article/details/126576341)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文