py.test runs tests but shows "No tests were found"

Answered

It seems like py.test is running (and showing failures in the output window) but shows "No tests were found" and doesn't list any tests as being run. I'm on:

IntelliJ IDEA 2017.1.4
Build #IU-171.4694.23, built on June 6, 2017
Licensed to --
Subscription is active until August 8, 2017
JRE: 1.8.0_112-release-736-b21 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.11.5

Python plugin:

2017.1.171.4694.26

 

0
3 comments

Hi Jeffreyrand! I'm sorry for the inconvenience! The problem is known: PY-24606. Please update to IDEA 2017.2 EAP or downgrade Python plugin to the previous version manually: https://plugins.jetbrains.com/plugin/631-python

0

Hi Tobias! Would you mind creating a ticket in our bug tracker? I think your problem has a different source and it would be easy to investigate it there.

Do you use PyCharm or IDEA and Python plugin?

Do you have a Working Directory option set in default pytest Run Configuration?

0

Please sign in to leave a comment.