pycharm 命令行方式 首先要cd切换一下目录 cd. 回车 cd ... 回车 python -m unittest 模块名.py python -m unittest test_case(目录没有.py).TestCase.test_02_login