标签: android android-studio gradle
我目前在我的应用程序中使用 Hilt。 It's currently not possible to run Hilt/Robolectric tests using the default Android Studio "run tests" function。但是,能够使用它来运行我套件的其余部分非常方便。
如何排除在 Android Studio 中运行的某些测试,但仍然从 Gradle 命令行运行我的 Robolectric 测试?
我感兴趣的示例解决方案:
@Ignore