Files
2012-02-21 01:15:00 -05:00

1 line
2.5 KiB
JSON

[{"user_id": 22875, "stars": [], "topic_id": 21559, "date_created": 1303877257.0964401, "message": "I'm having trouble finding any good guidance on testing http & socket.io-centric node.js apps. Any pointers?", "group_id": 1020, "id": 821877}, {"user_id": 22875, "stars": [], "topic_id": 21559, "date_created": 1303878546.328757, "message": "yeah, that's one option. Though I think I may want to try more server-centric testing -- simulate multiple socket connections & events. Maybe I can simulate multiple connections with Selenium, though not sure.", "group_id": 1020, "id": 822000}, {"user_id": 1175, "stars": [], "topic_id": 21559, "date_created": 1303878401.0022099, "message": "Only thing I can think of is selenium", "group_id": 1020, "id": 821985}, {"user_id": 12683, "stars": [], "topic_id": 21559, "date_created": 1303883108.345474, "message": "http://sontek.net/pycon-sprints-part-1-the-realtime-web-with-gevent I show how to use mock to replace redis/socketio for testing", "group_id": 1020, "id": 822327}, {"user_id": 22875, "stars": [], "topic_id": 21559, "date_created": 1303884009.3322611, "message": "@sontek Looking for something Node-centric as this is entirely a node.js app.", "group_id": 1020, "id": 822382}, {"user_id": 22875, "stars": [], "topic_id": 21559, "date_created": 1303884042.15429, "message": "@sontek I think the issue is documentation more than anything -- these tools can be tested reasonably well out of the box if you know how.", "group_id": 1020, "id": 822383}, {"user_id": 22875, "stars": [], "topic_id": 21559, "date_created": 1303932620.5066099, "message": "I'm not seeing where socket.io docs cover connecting a client outside of a web browser.", "group_id": 1020, "id": 831195}, {"user_id": 1175, "stars": [], "topic_id": 21559, "date_created": 1303935819.9297211, "message": "the client code is available from your node server at /socket.io/socket.io.js", "group_id": 1020, "id": 832017}, {"user_id": 1175, "stars": [], "topic_id": 21559, "date_created": 1303935946.120157, "message": "but I would isolate the whole socket.io layer from my tests", "group_id": 1020, "id": 832044}, {"user_id": 1175, "stars": [], "topic_id": 21559, "date_created": 1303935920.537674, "message": "perhaps your tests could start the socket.io service, and then load the client code", "group_id": 1020, "id": 832043}, {"user_id": 1175, "stars": [], "topic_id": 21559, "date_created": 1303935981.152014, "message": "you're not testing socket.io, so mock it", "group_id": 1020, "id": 832049}]