我们如何在移动设备上测试Ionic 2应用程序? [英] How can we test Ionic 2 applications on mobile?
问题描述
我在使用Google Chrome作为Desktop中的浏览器的visual studio代码编辑器上开发了一个使用ionic 2,angular2的应用程序。现在我想在移动设备上测试我的应用程序。
有没有这方面的工具?或者其他什么是最好的方法。
I have developed an application using ionic 2, angular2 on visual studio code editor using Google chrome as a browser in the Desktop.Now I want to test my application on mobile. Is there any tool for that? Or what else can be the best possible method.
推荐答案
三种类型的测试:
- 真实设备/模拟器(手动)
离子运行ios / android [ - emulator]
- 单元测试
Karma / Jasmine可用于此目的。这与桌面基本相同。
Karma/Jasmine is available for this purpose. This is basically same as desktop.
- 端到端测试
使用Protractor / Appium在真实应用上进行自动测试。有关此问题的一些指南,请搜索或查看这里。
Use Protractor/Appium for automated test on the real app. For some guides on this, search or see here.
这篇关于我们如何在移动设备上测试Ionic 2应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!