Running tns test android does not detect tests and is stuck in `test: loading; `
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- android, javascript
調査の方向性
まず tns test init を使用して問題を再現し、Jasmine を選択して tns test android を実行します。エミュレーターの起動中に、生成された karma.conf.js とブラウザーのネットワークアクティビティを調べます。想定されるテスト読み込みフローと、観測された状態 test: loading を比較し、初期化されたユニットテストがステータスとともにブラウザーとエミュレーターに表示されれば、問題は完了したと見なします。
索引モデルが issue の本文から書いたものです。
説明
Environment
- CLI: 8.1.4
- karma: 6.3.7
- karma-jasmine: 4.0.1
- karma-webpack: 5.0.0
- karma-nativescript-launcher: ~2.9.0
Describe the bug
I initalized tests using tns test init using jasmine. After running tns test android, in the browser the header shows test: loading and it doesn't appear to load any test files in the network tab. The mobile app that's launched on my emulator shows no tests. I did not make any modifications to the version of the dependencies or to the generated karma.conf.js. There were no errors in the logs.
To Reproduce
Run tns test init and select jasmine
Run tns test android, it launches the app with no tests displayed. In the browser, it displays test:loading
Expected behavior
My unit tests to be displayed and their status.
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NativeScript/nativescript-cli のほかの issue
-
in-progress
NativeScript/nativescript-cli#6140 · コメント 2 件 · 担当者 1 名 ·
-
NativeScript/nativescript-cli#6090 · 担当者 1 名 ·
-
in progress
NativeScript/nativescript-cli#6015 · リアクション 1 件 · 担当者 1 名 ·
-
question
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
NativeScript/nativescript-cli#5992 · コメント 5 件 ·
-
feature-pending-triage
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
NativeScript/nativescript-cli#5975 ·
NativeScript/nativescript-cli の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
avniproject/avni-client#2135 ·
-
automated broken-link
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
agent/security hive/hosted-available-lke648397-260827-5n31 security
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
babalae/bettergi-scripts-list#3674 ·
-
A-Release-Notes C-Editing D-Modest S-Ready-For-Implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
bevyengine/bevy-website#2595 ·