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 摘要。