NativeScript / NativeScript/nativescript-cli

Add unit tests for specified areas

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

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

technical debt
主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
8

説明

Is your feature request related to a problem? Please describe.
There are several cases covered by functional tests, which are more suitable for unit tests. Functional tests are much slower, so convert the appropriate ones to unit tests.

Describe the solution you'd like
Have more unit tests for scenarios currently covered with functional tests. Delete the affected functional tests after that. This will speed up the build.

Describe alternatives you've considered
No alternatives.

Additional context
Add unit tests for the following area:

  • Merging of build.xcconfig files:
    • Test scenario with build.xcconfig from plugin/multiple plugins
    • Test scenario with build.xcconfig from App_Resources/iOS
    • Test scenario with build.xcconfig from App_Resources/iOS and from plugins simultaneously

Tests related to work with devices

Tests related to passing invalid platform to commands

Tests related to signing behavior for iOS platform

  • tns run ios --emulator and tns run ios --provision <provision> should rebuild the project
  • tns run ios --provision <provision> and tns run ios --provision <provision> shouldn't rebuild the project
  • tns run ios --emulator and tns run ios --emulator shouldn't rebuild the project

Tests for ios-project-service

  • Adding .framework and .xcframeworks to Xcode project (preparePluginNativeCode)

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

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

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