Why is the Android test runner reporting “Empty test suite”?

前端 未结 30 2172
有刺的猬
有刺的猬 2020-11-28 07:59

I am banging my head against the wall here trying to figure out why IntelliJ/Android is reporting \"Empty test suite\". I have a small project with two IntelliJ Modules (\"

30条回答
  •  执念已碎
    2020-11-28 08:09

    My issue was caused by an exception being thrown in the @BeforeClass method of my test case. It some how wasn't causing the test to fail - I only found it by inspecting the logcat output.

    I fixed the exception and suddenly my tests were running!

提交回复
热议问题