Easy Browser Testing Using RSpec and Rails 5.1

This presentation explains the new system specs in RSpec, how to set them up, and what benefits they provide to test the browser stack of your application. If you want to improve your RSpec testing suite for your browser including JavaScript with full stack testing this talk is for you!

Traditionally doing a full stack test of a Ruby on Rails application with RSpec has been problematic. The browser wouldn’t automate, Capybara configuration would be a nightmare, and cleaning up your database was difficult. In Rails 5.1 the new ‘system test’ type was added to address this. With modern RSpec and Ruby on Rails, testing every part of your stack including JavaScript from a browser is now a breeze.

Video producer: http://confreaks.com/
Conference organizer: https://railsconf.com/

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.