How do I configure PyCharm to run py.test tests?

前端 未结 12 1364
闹比i
闹比i 2020-12-07 09:31

I want to start writing unit tests for my Python code, and the py.test framework sounds like a better bet than Python\'s bundled unittest. So I added a \"tests\" directory t

12条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-07 10:15

    Open preferences windows (Command key + "," on Mac):

    1.Tools

    2.Python Integrated Tools

    3.Default test runner

提交回复
热议问题