pytest-06-执行方式3-插件

注意:配置前写的测试用例,插件执行无效,必须是配置后再新建的,才会有效


![image.png](https://upload-images.jianshu.io/upload_images/9106490-1693b15e711da386.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![选择插件](https://upload-images.jianshu.io/upload_images/9106490-0ea67ee55d822cac.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

使用:
类名规范:Test开头,驼峰命名法(OneTwoThree)
![image.png](https://upload-images.jianshu.io/upload_images/9106490-5fb15420f533cc1c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
 

你可能感兴趣的:(python基础)