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

Create test server #15

Open
akavlie opened this issue Nov 7, 2011 · 0 comments
Open

Create test server #15

akavlie opened this issue Nov 7, 2011 · 0 comments

Comments

@akavlie
Copy link
Owner

akavlie commented Nov 7, 2011

It would be nice to have a mock server for testing the app (client side), to alleviate the need to connect to a real IRC server and such every time a change is made. Think I've worked out a reasonable way to do so:

  • Enter test mode at /test and/or with a hardcoded test IRC server name ('wi-test' or some such)
  • App watches for that condition, and initiates test method
  • Said test method mocks all supported socket.on/socket.emit events to return canned responses, echo input, or whatever makes sense for that method
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

1 participant