Learn ralph small Learn

Test-Driven Rails

Learn Test-Driven Development using RSpec and Capybara.

Everyone tests their apps. Some developers just do it faster. Clicking manually in a browser is a form of testing. Automating that process saves time as the application grows.

In this online workshop we teach Ruby on Rails the way we use it every day at thoughtbot. By the end of the workshop, you will know how to do Test-Driven Development. It is intended for developers with prior experience in Ruby, Rails, and relational databases who are not currently doing TDD or who want to improve their TDD practice.

We’ll be using RSpec and Capybara to cover test-driven development, mocking and stubbing, and how to test 3rd-party service interaction, as well as how to use testing to enforce SOLID principles. We’ll also briefly cover Jasmine for writing unit tests for JavaScript.

When you register for this workshop, you also get ongoing support from the thoughtbot team for any testing questions you may have.

I would be hard pressed to think of any example where a technical instructor presented such complex information so clearly and effectively.

—Previous Student, July 2012

Josh’s passion for testing and the material was infectious and inspiring. His explanations of the testing concepts was thorough and it was really helpful to see the evolution of the tests and application code.

—Previous Student, September 2012

How the workshop works

Video lessons —As soon as you register you gain access to pre-recorded video sessions given by the workshop instructor, Josh Clayton. In these sessions we focus on building two real applications “outside-in” as a group. Virtually all of the workshop will be spent in the editor producing code. Watch the video and code along with Josh on the project. Work on it as much as you’d like before the next office hours, and get help from Matt and the rest of thoughtbot in our forums along the way.

Online Office Hours — In this live chat and Q&A, Matt will lead a group discussion about the topics covered in that weeks video session, as well as any other questions you might have. Office hours are every Friday at three times: 10:30am Central European time, 10:30am US Eastern, and 4pm US Pacific.

Ongoing — After the workshop ends, you’re not done. You get access to all existing and future content, and support for any ongoing Ruby and Rails questions you have from Matt and the rest of the thoughtbot team in the weekly office hours and forums.

Is this workshop right for me?

The typical student of this workshop leaves with knowledge of how to best write a Rails application with test-driven development, as well as the various tools available in the Ruby and JavaScript communities for writing good tests. If you know Rails but currently aren’t practicing TDD, or you want to improve upon your TDD skills, this workshop is for you.

This workshop is not for you if you don’t know enough to build a Rails application on your own. We want you to be able to focus on learning Test-Driven Development in this workshop, not on learning Rails.

How much prior Rails experience do I need?

You should be familiar enough with Rails so that you can focus on learning TDD, rather than having to learn more about Rails itself. This means you’ve likely built and shipped a Rails application yourself before.

How can I ask you more questions?

Email us at learn@thoughtbot.com.

What is the time commitment for this workshop?

You should expect to spend at least five to ten hours a week on this workshop. The more time you spend interacting with the instructor and other participants, the more you’ll get out of the workshop.

  • Josh Clayton
    Taught by

    Josh Clayton