How to check chat application in Ruby on Rails?

What is the best way to implement an integration test for a chat application?

The problem is that I don’t know how to implement two custom behaviors without bites and ridicule.

How would you implement these steps?

Given I have two users "joe" and "bob" logged in
When "joe" send "Hello!" message to "bob"
Then "bob" should see "Hello!"

What is the best way to test an Ajaxy app with Cucumber?

How to check simultaneous testing of two users?

+5
source share
2 answers

If you want to really test JS this way, you will need to run these tests with the real browser process.

http://seleniumhq.org/ https://github.com/brynary/webrat/wiki/selenium

+1

TestPlan - JS . , .

0

All Articles