RailsConf 2014 - Effectively Testing Services by Neal Kemp

549 views · Published 16 May 2014 · 27:15 · Indexed 14 November 2026

Channel: Confreaks · 2014 · Science & Technology

Watch on YouTube

Our Ruby world is becoming increasingly service oriented. Even in trivial applications, we often glue on multiple services ranging from Twitter to AWS. Services can, however, be confusing to test.

Many questions arise such as: How thoroughly should I test a service? Should I stub out responses or consume an API in test mode? How do I know a service is returning what I believe it returns?

In this talk, I answer these questions and more so that you may test services more effectively.

I am an independent consultant who slings Ruby code for a variety of clients. In the past, I have worked as a developer at thoughtbot and ZURB. I was developing on the web back when marquees were cool.

Help us caption & translate this video!

http://amara.org/v/FG1F/

More from this channel