Pytest介绍

Pytest是python2自带的自动化测试框架,python3的版本的话pytest框架独立出来,需要pip进行安装 Pytest的下载安装 1、Python3使用pip install -U pytest安装 2、查看pytest版本信息 pytest --version 3、pytest 用例的执行规则:         ①测试文件以test_xx.py命名需要以test_开头(或_test
相关文章
相关标签/搜索