Skip to content

Unit testing: tns test android command hangs #1401

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

Closed
unlight opened this issue Jan 18, 2016 · 2 comments
Closed

Unit testing: tns test android command hangs #1401

unlight opened this issue Jan 18, 2016 · 2 comments
Milestone

Comments

@unlight
Copy link

unlight commented Jan 18, 2016

Executing tns test android hangs and does not end.
I have example unit test, generated by tns test init (jasmine), according to this https://docs.nativescript.org/core-concepts/testing

describe("Hello World Sample Test:", function() {
  it("Check counter.", function() {
    expect(42).toEqual(42);
  });
});

When I execute command, after preparing and syncing, I see blue screen with message

Found karma at 10.11.11.156

And that's it. Nothing happens.
Console output:

Successfully transferred all project files.                                               
Applying changes...                                                                       
Successfully synced application org.nativescript.yesorno at Jan 18, 2016 5:51:27 PM.

Environment:
nativescript: 1.5.2
emulator: genymotion
node: 5.3.0
OS: Win64

@teobugslayer
Copy link
Contributor

Hi @unlight,

we are actively tracking and fixing issues in our dependencies which prevents running the unit tests correctly. Please check the GitHub issue for details.

At the moment, we are waiting for the upstream to merge the fixes. I am sorry for the inconvenience caused but I can assure you that this is a high priority task for us.

@rosen-vladimirov
Copy link
Contributor

Hi @unlight ,
The issue in socket.io had been resolved. Just delete your node_modules and platforms directories and run tns test android again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants