Skip to content

Mivanova/nsconfig projects - #141

Merged
miroslavaivanova merged 2 commits into
masterfrom
mivanova/nsconfig_projects
Jun 12, 2018
Merged

miroslavaivanova merged 2 commits into
masterfrom
mivanova/nsconfig_projects

Conversation

@miroslavaivanova

Copy link
Copy Markdown
Contributor
  1. add tests for device debug ios/android
  2. change create of nsconfig tests NG, added webpack, sass and typecsript

from core.tns.tns_platform_type import Platform
from core.osutils.command import run

class DebugBothPlatformsTests(BaseClass):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PEP8 require 2 blank lines between imports and class DebugBothPlatformsTests(BaseClass):

Npm.uninstall(package="nativescript-dev-sass", option='--save-dev', folder=app_name_change_app_location_ng)
Npm.install(package=SASS_PACKAGE, option='--save-dev', folder=app_name_change_app_location_ng)
File.remove(TEST_RUN_HOME + "/" + app_name_change_app_location_ng + "/"
+ "node_modules/.bin/babylon")

@dtopuzov dtopuzov Jun 7, 2018 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PEP8 warning for visual indent, can be fixed by auto formatting shortcuts.

Npm.uninstall(package="nativescript-dev-sass", option='--save-dev', folder=app_name_change_app_location_ls_ng)
Npm.install(package=SASS_PACKAGE, option='--save-dev', folder=app_name_change_app_location_ls_ng)
File.remove(TEST_RUN_HOME + "/" + app_name_change_app_location_ls_ng + "/"
+ "node_modules/.bin/babylon")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PEP8 warning for visual indent, can be fixed by auto formatting shortcuts.

@dtopuzov dtopuzov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve after fixing PEP8 styling.

Looks fine for now.

Ideas for future improvements (not required to be in same PR):

  • Debug device and emulator/simualators tests are almost the same code, we should see how we can reuse it.

@miroslavaivanova
miroslavaivanova merged commit 4f2309e into master Jun 12, 2018
@miroslavaivanova
miroslavaivanova deleted the mivanova/nsconfig_projects branch June 12, 2018 09:23
Natalia-Hristova pushed a commit that referenced this pull request Jun 19, 2018
* added new tests for debug ios and android

* modified NG config tests
Natalia-Hristova pushed a commit that referenced this pull request Jun 28, 2018
* added new tests for debug ios and android

* modified NG config tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants