@songying
2018-11-19T13:39:28.000000Z
字数 166
阅读 1282
pytest
pytest 会运行当前目录及其子目录下所有格式为test_*.py或*_test.py的文件。
pytest -q test_class.py
python -m pytest [...]
该命令等价于直接pytest [...], 不过通过python调用会将当前路径加到sys.path中。
