xamarin.android - Azure 管道 | 应用中心测试 | 包含类别时出错
问题描述
我正在 Azure DevOps 上运行一项工作(包括 nuget 还原、构建和签名应用程序在内的一系列任务),以通过 Appcenter 构建 android 应用程序和测试 (Xamarin.UITest) 应用程序。
如果我没有在“使用 Visual Studio App Center 测试”任务的“运行的其他选项”上指定任何参数,测试运行良好。当我这样做时(--include-category LandingPage)任务抛出错误说:
Error: Command 'test run manifest --manifest-path d:\a\12\a\AppCenterTest\manifest.json --app-path d:/a/12/b/Release/PUBLISH_PACKAGE_NAME_PHONE_ANDROID.PUBLISH_PACKAGE_NAME_PHONE_ANDROID.apk --app SampleApp/Android --devices 12345abcd --test-series DevOps --locale en_US --include-category LandingPage --quiet --token ***' failed with exception "Unknown argument --include-category"
我错过了什么?
[当我从本地机器运行时,命令完美运行appcenter test run
。]
任何帮助表示赞赏。
解决方案
推荐阅读
- docker - apache 没有在 alpine image docker 中启动
- sql - ORDER BY 具有 JOIN、LEFT JOIN 和 UNION 的子查询
- php - 如何从类别自定义字段中获取值?
- python - 计算价格变化(最后 2 分钟)和价格范围(2 分钟前)
- android - 升级毕加索库时 Android 崩溃
- oauth - 我们可以使用来自不同机器的相同 OAuth 不记名令牌进行 API 调用吗
- c# - 从下拉C#中选择值而不是索引
- maven - 通过命令提示符运行 maven 框架时出错,但在 eclipse 中运行良好
- python - 如果 Y 使用 python 具有 NaN,则将数据从 X 列填充到 Y 列
- c++ - Qt序列化不匹配运算符<<操作数类型是'QDataStream'