RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

dnesteryuk — 2 posts

http://nesteryuk.info/

I just finished writing blog post about gem which allow you to use SitePrism and Vcr gems for better testing applications working with external API.
We use OOP to make our code be better, why we don’t care too much about our tests? Nat Ritmeyer created a cool library which provides OOP DSL for Capybara. Its name is SitePrism. I have been using this library for 5 months. As a result, my tests look much much more clear and I feel like I have started writing less code for my acceptance tests, because I can inherit sections, pages and so on. I strongly recommend you to take a look at this library.