You’ve just finished writing your Ruby on Rails application, your test suite tests your models and controllers in depth, but you still can’t tell from your tests if your RJS responses are functioning properly, or if a Javascript error is happening in the browser, which means that your tests can still be improved. In this talk, the speaker will outline some options you have for testing your AJAX-powered Ruby on Rails application from both the client and server sides. The speaker will show examples illustrating how to test your RJS calls from the server-side with the use of some Rails plugins, and how to test the same calls in the client-side using with Selenium, a tool that allows you to write automated web application UI tests using any mainstream JavaScript-enabled browser.
Leave a Reply
You must be logged in to post a comment.