NativeScript / NativeScript/nativescript-cli

Support running unit tests in Sauce Labs

オープン
#4,631 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

feature unit testing
主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、tns test コマンドと、Karma ベースのユニットテスト設定を追跡します。karma-sauce-launcher を既存のテストフローにどのように組み込めるかを確認し、必要なフラグと Sauce Labs の設定を定義します。ローカルデバイスでのテストを壊すことなく、ユニットテストを選択して Sauce Labs デバイス上で実行できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
cli, cloud, mobile, testing-qa
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。