pycharm里如何配置pytest

PyCharm Community Edition-->Preference-->Tools-->Python Integrated Tools, 把Default test runner换为pytest就可以了
原文地址:https://www.cnblogs.com/gracemm/p/13423677.html