Android 测试:未找到测试

时间:2021-01-29 05:49:06

标签: android testing

Starting 0 tests on test(AVD) - 10
Tests on test(AVD) - 10 failed: Instrumentation run failed due to 'Process crashed.'

com.android.build.gradle.internal.testing.ConnectedDevice > No tests found.[test(AVD) - 10] FAILED 
No tests found. This usually means that your test classes are not in the form that your test runner expects (e.g. don't inherit from TestCase or lack @Test annotations).

所以我在我的 CI 上运行测试,这个错误随机弹出,有时它会找到 2 个测试并运行它。但大多数时候我都会得到这个。

我查看了 Stack Overflow 上的其他答案,但它们对我没有帮助。

0 个答案:

没有答案