While investigating existing automated tools for mobile TDD, we have run into a well-documented and supported library by Xamarin. It’s called calabash, comes with iOS and Android support and has a wide scope of supported user actions, gestures and expectations. Continue

VCR is a powerful beast which makes HTTP-request mocking a real no-brainer. If you haven’t tried it before, just do it, it will make your life much easier. VCR works in really simple manner – when you issue request via Continue

Capybara with Given/When/Then steps in acceptance testing. Many of us use cucumber to write acceptance tests. We must to say it’s very nice tool that allows you to write features in English plain text. The main goal is provide interface Continue

Trouble There are some cases when you may need to access application session in your tests: User signup or registration flow is too long. Application use another backend and store result into session. In each story you must repeat the Continue

Preface When you develop some cool gem that should work in different ruby frameworks you definitely should write acceptance tests. Nowadays it’s pretty easy to do with RSpec+Capybara. Your goal Assume you develop MyRackMiddleware gem that should work in Sinatra Continue