Video recording and production done by WindyCityRails.
Integration Testing is hard. Cucumber has fallen out of favor and new ways of testing using RSpec and Capybara are becoming the industry standard. The new way of integration testing lost the declarative nature of cucumber tests, leaving tests hard to read and difficult to maintain due to tight coupling to DOM structure and styling.
Page Objects fix all of these issues, they let you write declarative DRY tests that are a pleasure to maintain and extend. In this talk Dorian will demonstrate how to write integration tests using Page Objects and touch on some of the best practices that his team has accumulated.
About Dorian Karter
Dorian is a Software Consultant working at Hashrocket. At Hashrocket he is doing TDD and pair programming on a daily basis, primarily in Rails. He is enjoys writing declarative code that documents itself. Most recently he has been playing with Elm and Redux on the front end, exploring different concurrency models in different languages, and writing Vim plugins.
Delivered at WindyCityRails 2016 in Chicago, IL, USA.
Learn more about WindyCityRails at http://windycityrails.com.