1、新建脚本【test_demo1.py】
def test_demo(): assert 100 == 100
2、在脚本目录下打开cmd
3、执行脚本
pytest test_demo1.py -v
-v
-s
-x