从VS运行全息应用程序的UI测试 [英] Run UI tests for Holographic apps from VS

查看:102
本文介绍了从VS运行全息应用程序的UI测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi,

我想运行单元测试一个全息应用程序。这是我想要实现的工作流程

I would like to run Unit tests for a holographic app. This is the workflow i would like to achieve

1。在模拟器中编写现有全息应用程序的单元测试,通过代码安装应用程序(如果可能),或通过 

1. Write unit tests for an existing holographic app in an emulator, by installing the app through code(if possible) , or through 

2。识别gameObjects 

2. Identify the gameObjects 

3。模拟手势

我熟悉使用UnityTestTools编写集成测试。但是当我构建为全息应用程序时,它会抛出错误(我使用#if UnityEditor标记来解决此问题)。所以,我想用Visual studio实现同样的目标。 

I am familiar with using UnityTestTools to write Integration tests. But when I build as Holographic app, it throws error (I used #if UnityEditor tag to resolve this). So, I would like to achieve the same with Visual studio. 

Pl帮助我实现这个目标

Pl help me achieve this

推荐答案

亲爱的朋友,

如果您使用的是Visual Studio Enterprise Edition,则可以轻松实现为您的UWP应用创建
单元测试或编码的UI测试项目

If you are using Visual Studio Enterprise Edition, you could easily create Unit test or coded UI test project for your UWP apps:

只需转到Visual C# - > Windows Universal:

Just go to Visual C# -> Windows Universal:

如果需要更多帮助,请随时告诉我们。

Please feel free to let us know If need more help.

欢迎您在实施测试时发布特定错误信息&bbsp

And you are welcome to post the specific error info of the issues while you are implementing the tests.

 

祝你好运,

Fletcher 

Fletcher  


这篇关于从VS运行全息应用程序的UI测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆