Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Intellij 14.0.2 reports "Empty test suite" but tests are running

$
0
0

I have a very simple jUnit test class named LibraryTest with a single test called testSomeLibraryMethod. This test simply does an assertTrue on a method that returns true.

 

If I right click and select Run 'LibraryTest' the test runs fine, but I see a message in blue in the console that says "Empty test suite". I know the test is empty because if I change the test to assertTrue that the method returns false, the test fails as expected, but I still see the "Empty test suite" message. Clearly the suite isn't empty as the test failed. I'm guessing I'm not following some naming convention, only I can't figure out which one.

 

If it'll help I can post the whole project as this is a simple test project to help debug the issue.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>