Pycharm - no tests were found?

后端 未结 8 2095
鱼传尺愫
鱼传尺愫 2020-12-18 17:52

I\'ve been getting a

No tests were found

error in Pycharm and I can\'t figure out why I\'m getting it... this is what I have f

8条回答
  •  鱼传尺愫
    2020-12-18 18:29

    in order to recognize test functions they must be named test_ in your case rename xyCheck to test_xyCheck :)

提交回复
热议问题