You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example test file created in app/tests/
Run your tests using the "$ tns test " command.
C:\Git>
C:\Git>
C:\Git>tns test android --path TestApp
16 11 2015 17:20:33.594:INFO [karma]: Karma v0.13.15 server started at http://localhost:9876/
16 11 2015 17:20:33.601:INFO [launcher]: Starting browser NativeScript Unit Test Runner
Copying template files...
spawn EBADF
Unknown command 'dev-test|android'. Try '$ tns help' for a full list of supported commands.
16 11 2015 17:22:08.033:INFO [launcher]: NativeScript deployment completed with code 127
The text was updated successfully, but these errors were encountered:
The real error is: spawn EBADF
The Unknown command 'dev-test|android'. is from our help service, because we do not provide help files for dev commands (dev-test). However I notice that you are executing tns test android, so I'm really confused.
C:\Git>rm -rf TestApp
C:\Git>tns create TestApp
Project TestApp was successfully created
C:\Git>tns test init --path TestApp
? Select testing framework: jasmine
npm WARN package.json @ No description
npm WARN package.json @ No repository field.
npm WARN package.json @ No README data
[email protected] TestApp\node_modules\karma
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
npm WARN peerDependencies The peer dependency jasmine-core@* included from karma-jasmine will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
[email protected] TestApp\node_modules\jasmine-core
[email protected] TestApp\node_modules\karma-jasmine
[email protected] TestApp\node_modules\karma-nativescript-launcher
[email protected] TestApp\node_modules\nativescript-unit-test-runner
Successfully installed plugin nativescript-unit-test-runner.
Example test file created in app/tests/
Run your tests using the "$ tns test " command.
C:\Git>
C:\Git>
C:\Git>tns test android --path TestApp
16 11 2015 17:20:33.594:INFO [karma]: Karma v0.13.15 server started at http://localhost:9876/
16 11 2015 17:20:33.601:INFO [launcher]: Starting browser NativeScript Unit Test Runner
Copying template files...
spawn EBADF
Unknown command 'dev-test|android'. Try '$ tns help' for a full list of supported commands.
16 11 2015 17:22:08.033:INFO [launcher]: NativeScript deployment completed with code 127
The text was updated successfully, but these errors were encountered: