javascript - Chat App - Testing interaction between two clients -


i'm writing html/js (ember) chat app using socket.io backend. (i know: original, much?)

for of end end integration tests (i.e. client , server) test interaction between 2 clients. know can done selenium-webdriver , testing framework such mocha i'd use nice test runner karma or 1 comes qunit , i'm bit stumped how either of create , interact 2 clients @ once.

qunit in not test runner. testing framework. karma on other hand, test runner.

qunit likes test units of code, xunit framework does. running integration tests in unit-testing settings not advisable. comment below andy demonstrates, qunit can used in different settings, there not in sense of xunit-type testing framework.

as testing socket.io applications, this answer might helpful you?

swizec teller has tutorial on testing socket.io code, , liam kaufman has blog post on testing chat application written socket.io.


Comments

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -