简体   繁体   English

在 App Center 中运行 Android JVM(未检测)单元测试

[英]Run Android JVM (not instrumented) unit tests in App Center

I'm building my Android ap with Microsoft App Center.我正在使用 Microsoft App Center 构建我的 Android 应用程序。

Is there any way to run JUnit JVM unit tests in App Center?有没有办法在 App Center 中运行 JUnit JVM 单元测试? At the moment App Center is running only the Android instrumented tests, this is, the tests that run on one emulator or real device (located in androidTest folder) What I want to do is to run the tests that are pure Java/Kotlin and do not depend in the Android framework to work, the ones that run just on the JVM (located in test folder).目前 App Center 仅运行 Android 仪器测试,即在一个模拟器或真实设备上运行的测试(位于androidTest文件夹中)我想要做的是运行纯 Java/Kotlin 的测试并执行不依赖于 Android 框架来工作,那些仅在 JVM (位于test文件夹中)上运行的框架。

All I've found regarding tests in App Center is https://docs.microsoft.com/en-us/appcenter/build/build-test-integration .我在 App Center 中发现的所有测试都是https://docs.microsoft.com/en-us/appcenter/build/build-test-integration

Thanks谢谢

I contacted App Center and this is not supported yet.我联系了 App Center,但尚不支持。 I created a feature request for this.我为此创建了一个功能请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM