I was able to run single test in IDE, but now I ge...
# kontributors
s
I was able to run single test in IDE, but now I get an error: `No tests were found" What should I do to run single test like before?
d
You should run tests via gradle runner, not intellij runner Please check those settings
gratitude thank you 1
Also don't forget to remove incorrect run configuration
s
Ah... The problem was disappeared after I switch to
Intellij IDEA Ultimate
, so I guess it was some kind IDE settings problem. But somehow the problem comes back even in
IDEA Ultimate
recently, I've thought about it for some time, still have no clue... The setting looks like correct, but once I run/debug the test, IDE create a Junit run/debug configuration instead of a Gradle one.
d
It's very strange Did you change something in
gradle.properties
or
local.properties
?
Also did you try to reimport the project? It helps with a lot of configuration problems