NativeScript / NativeScript/nativescript-cli

Support running unit tests in Sauce Labs

未关闭
#4,631 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature unit testing
主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

Is your feature request related to a problem? Please describe.
Development of mobile application requires testing the application on different API Levels (OS Versions) and devices. It will be great in case this testing can be based on cloud providers that allow running the application on real devices.

Describe the solution you'd like
Currently the unit tests are run only on attached devices, but it will be great in case it is possible to run them in cloud provider, like Sauce Labs. I imagine having a flag to tns test command that specify the tests should be run in Sauce Labs.

Describe alternatives you've considered
Integration of other cloud providers, even those who allow using emulator - Appetize for example.

Additional context
As CLI uses karma to run the unit tests, it could benefit of using karma-sauce-launcher.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,跟踪 tns test 命令及其基于 Karma 的单元测试配置。检查 karma-sauce-launcher 如何适配现有的测试流程,并定义它所需的 flag 和 Sauce Labs 配置。完成的标准是:可以选择单元测试并在 Sauce Labs 设备上运行,同时不影响本地设备测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
cli, cloud, mobile, testing-qa
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。