Skip to content
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

testsuite, how to run #90

Closed
idella opened this issue Sep 1, 2015 · 1 comment
Closed

testsuite, how to run #90

idella opened this issue Sep 1, 2015 · 1 comment

Comments

@idella
Copy link

idella commented Sep 1, 2015

Taking the last release -0.5.6 released the same day as -0.6.5

  1. on running it it objects to the local import structure in the init.py
    (from .. import SocketIO, LoggingNamespace, find_callback)
    which might work once installed.
  2. On changing that to an abs path:
  3. It complete running with
python socketIO_client /tests/__init__.py

with nil output to the screen

  1. Using
nosetests socketIO_client /tests/__init__.py 

it then simply hangs.

Is it a normal testsuite? When there is no output to tty it generally means the tests were no actually run. They require the output to confirm that something actually happened. This just leaves total doubt

@invisibleroads
Copy link
Owner

@idella These test suites assume that the test socket.io server is running (please see https://github.com/invisibleroads/socketIO-client/blob/master/.travis.yml).

You can launch the test socket.io server in another terminal with the following command:
DEBUG=* node socketIO_client/tests/serve.js

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

No branches or pull requests

2 participants