简体   繁体   English

DevOps 为 Xamarin.iOS 构建管道,我是否需要为 UI 测试创建发布版本?

[英]DevOps build pipeline for Xamarin.iOS, Do I need to create a release build for UI Testing?

I'm trying to setup some Xamarin UI testing, initially for our iOS project.我正在尝试设置一些 Xamarin UI 测试,最初用于我们的 iOS 项目。 I've run into a lot of issues trying to setup a DevOps pipeline and I've learned a lot in the process.我在尝试设置 DevOps 管道时遇到了很多问题,在此过程中我学到了很多东西。

However, I found this video on the subject by James Montemagno, where at times 24.31 and 23.47 he mentions that you need to create a debug ipa which runs the Xamarin.TestCloud.Agent .但是,我发现了 James Montemagno 的这个视频,在 24.31 和 23.47 时,他提到您需要创建一个运行Xamarin.TestCloud.Agent的调试 ipa。

This is an additional build task after a release build, purely to run the build agent.这是发布构建之后的附加构建任务,纯粹是为了运行构建代理。

At the moment I'm only concered with running UI Tests not creating a release artefact.目前我只关心运行 UI 测试而不是创建发布工件。

I'm wondering if I actually need to run the release build task / drop at all?我想知道我是否真的需要运行发布构建任务/删除?

It's just so time consuming making small adjustments and waiting for the process to complete each time.每次进行小调整并等待过程完成非常耗时。

Do I need to create a release build for UI Testing?我是否需要为 UI 测试创建发布版本?

No, you don't.不,你没有。 If you only need to do unit tests in the Debug build, the Release build is not required.如果只需要在 Debug 构建中进行单元测试,则不需要 Release 构建。

As you are only concerned with UI Tests, you just need to run Debug build, publish the build artifacts, and then test with Visual Studio App Center.由于您只关心 UI 测试,因此您只需要运行 Debug build、发布构建工件,然后使用 Visual Studio App Center 进行测试。

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

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