Become a Confident Ruby Tester

In the Ruby on Rails community it’s expected that developers know how to write tests.

If you aren’t in the habit of writing tests you can feel like an imposter.

Barriers to Learning Ruby Testing

You know you “should” be testing but it’s not clear how to start. You might have questions like:

  • How do I get started with testing? What exactly do I test?
  • How do I pick a testing framework?
  • How do I find books and tutorials that are actually up-to-date?

These barriers are real. That’s part of the reason why so many developers struggle to write tests.

Imagine If You Could…

Imagine that you already had all the knowledge you needed to confidently write tests with little effort.

Imagine if you:

  • Easily wrote a test for every feature you wrote without even having to use Google or a book
  • Deployed features to production with confidence that everything works (and old code won’t break)
  • Received praise in code reviews about how well-tested your code is
  • Welcomed questions about TDD in job interviews as a chance to demonstrate your knowledge

Introducing: Intro to Ruby Testing

Intro to Ruby Testing is an interactive, hands-on course that will help you get over the barriers to testing and put you on the path to being a confident Ruby tester.

This course will:

  • Show you what kinds of features to test
  • Show you evergreen testing concepts – so you don’t have to worry about the material being out of date
  • Walk you through many concrete testing examples
  • Introduce you to testing with just Ruby and ActiveRecord, no Rails – meaning you can strip away the many confusing details of testing in Rails
  • Get you “over the hump” with learning testing and equip you with the confidence to continue your testing journey on your own

What Do You Get If You Sign Up?

This course is not about reading or watching video, it’s about you the student writing actual working tests.

The format is that I ask you to write a certain test, you write the test, then you compare your solution to mine.

The course is built on the Teachable platform. If you’re interested in exactly what it looks like, there’s a video below where I show you.

Here’s the outline.

  • Introduction
    • Course Overview
    • Downloading and Installing the Starter App
    • Running the First Spec File
  • Your First Few Specs
    • The Product Spec
    • Your First Spec: Product Price
    • My Product Price Spec
    • Product Price Numericality Spec
    • My Product Price Numericality Spec
  • Customer Specs
    • Adding the Customer Model and Customer Specs
    • My Customer Model and Specs
  • Sale Specs
    • Adding a Spec for Customer Presence on Sale
    • My Version of the Customer Sale Spec
  • Line Items
    • First Line Item Spec
    • My Version of the Line Item Spec
  • Specs for Making Sales
    • Sales#total
    • My Version of Sales#total and the Sales#total Spec
    • Refactoring
  • Conclusion
    • Suggestions for Continued Learning

If you want to see exactly what this all looks like, here’s a video where I walk you through it.

Enroll in Intro to Ruby Testing Now

Enroll in the course now and get instant access to my course material which includes:

  • Hands-on testing exercises
  • Full sample application repository
  • Membership in Slack group where you can get help from me and fellow students

Enrollment is currently closed

Intro to Ruby Testing comes with a 100% money-back guarantee.

Questions? Email or tweet me at @jasonswett.


What’s the format of the course?

The course is a series of testing exercises. First I’ll introduce a concept. Then you’ll watch me do it. Then I’ll ask you to do it. Then you can compare your work to mine. Throughout the process we’ll build a real, working, tested application.

What kind of support do I get during the course?

When you enroll in the course you’ll get access to a Slack group where you can get help from myself and your fellow students.

What if I don’t like it? Do I get my money back?

Yes. If you decide you made a mistake in purchasing the course, just let me know and I’ll give you a full refund.

About the Author

I’m Jason Swett. I’ve been coding since I was a kid. I put my first website online around 1996 at age 12.

It took me many years to get fully confident with testing. It doesn’t have to take you that long though. My hope is that I can share with you what I’ve learned through slow, painful experience so you don’t have to make the same mistakes.