Skip to content

Merge release in master pre 1.5.0 (third time) #1222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Nov 20, 2015

Conversation

rosen-vladimirov
Copy link
Contributor

No description provided.

rosen-vladimirov and others added 14 commits November 17, 2015 23:58
In `karma-nativescript-launcher` we call startTestRunner through spawn.
Communication between karma launcher and tns is through stdin.
This is causing exception in buildMetadata step when gradle wrapper is used.
For some reason it throws error in java code.
So, replace the spawn with fork in the launcher. Modify `startTestRunner` to wait for message from parent process and send "ready" state to the parent.
After that the parent (karma-nativescript-launcher) sends configuration data and the `startTestRunner` will execute the actions.

Fixes #1199
As the current workflow of unit-testing is:
1) user calls `tns test android`
2) CLI starts a new process in which `tns dev-test android` is called
3) In case the dev-test command fails, the error is caught in the child process and command help is printed on the terminal directly in it.
4) User receives message: `Unable to find command dev-test|android` (from the child process) as we do not have help for this commands.

Copy-paste the help fo test-android and test-ios commands and change the filenames so when the child process fails, it will print correct help.
Parent process will not fail as the error is caught inside the child, so there's no way to print the help twice.

Update common-lib to search dev-commands as well when searching for help pages.
In case node_modules dir is deleted, `tns test <platform>` command will fail.
So ensure all dependencies are installed before starting karma server.
…r-run-command

Release the console after `tns run ios` command
Fix ENOENT error when livesyncing deleted .xml or .css file
…dows

Create configurations and src folders only for plugins that have native files
Shelljs likes to report some warnings, which we do not want to show to our users.
So set it to silent mode by default. In case for any shelljs command you want to show the warnings, just set silent to false before executing it.
@ns-bot
Copy link

ns-bot commented Nov 20, 2015

Test PASSed.

Fatme Havaluova and others added 3 commits November 20, 2015 11:22
@rosen-vladimirov rosen-vladimirov force-pushed the vladimirov/merge-rel-master-pre-150-3 branch from 2c3020d to 368044e Compare November 20, 2015 09:42
@ns-bot
Copy link

ns-bot commented Nov 20, 2015

Test PASSed.

1 similar comment
@ns-bot
Copy link

ns-bot commented Nov 20, 2015

Test PASSed.

rosen-vladimirov added a commit that referenced this pull request Nov 20, 2015
…r-pre-150-3

Merge release in master pre 1.5.0 (third time)
@rosen-vladimirov rosen-vladimirov merged commit 3424477 into master Nov 20, 2015
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/merge-rel-master-pre-150-3 branch November 20, 2015 09:57
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