2, pycharm set as the default run pytest

1. Open File-setting

2. Open the Tools-Python Integrated Tools

3. Locate the Default test runner option in the drop-down box, select py.test

Point 4. Apply.

5. py.test will run options at runtime

 

Guess you like

Origin www.cnblogs.com/little-little-bai/p/11290285.html