pytest是Python的第三方模块,需要先安装
在命令窗口,执行以下命令
pip install pytest -i https://pypi.douban.com/simple/
[pytest] addopts = -vs testpaths = ./testcases python_files = test_*.py python_classes = Test* python_functions = test_*