-
-
Notifications
You must be signed in to change notification settings - Fork 196
test init
and test android|ios
commands
#1016
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
Conversation
7c24c49
to
18edb5e
Compare
|
||
"use strict" | ||
|
||
import constants = require("../constants"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use ES6 compatible imports where possible
Running this code produced
I recommend that we do not require for the CLI to be in the PATH, which is a breaking change and stops the users and QAs from using the CLI locally. |
6c9d144
to
af1962a
Compare
No more manual steps. Just check out the branch and all testing commands should just work. |
this.$logger.info('Place your test files under app/tests/'); | ||
} | ||
|
||
this.$logger.info('Run your tests using the "$ tns test <platform>" command.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to make this message more visible - perhaps using yellow color.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
The unit test runner should be installed as a plugin, not in this hacky way. I'm going to fix that, so sit tight for more commits. |
1a9a69a
to
8194a2a
Compare
Test PASSed. |
Test PASSed. |
👍 |
Test PASSed. |
Test FAILed. |
* install and serve testing framework dependencies * jasmine and mocha support * respect --watch option in tns test * pass $config.DEBUG to karma server * support for ios simulator * exclude tests/ folder from release builds * documentation for test commands * pass log level and --path if specified to karma * pass path to node executable and path to nativescript cli entry point to karma * '--framework' option for `tns test init` * deploy unit test runner as tns plugin * option to debug socket.io in unit test runner
Test FAILed. |
1 similar comment
Test FAILed. |
Test FAILed. |
1 similar comment
Test FAILed. |
Test FAILed. |
Test PASSed. |
Test FAILed. |
`test init` and `test android|ios` commands
Unit testing support for nativescript