akavlie/web-irc — Issue #15: Create test server
Author: akavlie
Created: 2011-11-07 04:27:26+00:00
State: open

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