NativeScript / NativeScript/nativescript-cli

Add unit tests for specified areas

Abierto
#4,423 0 comentarios 0 reacciones 4 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

technical debt
Lenguaje dominante
JavaScript
Estrellas
1.1k
Forks
204
Merge medio
1 d 9 h
PR fusionados (30 d)
8

Descripción

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)

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.