Infrastructure
Explore the foundational infrastructure setup for test-driven development in Rails. Understand how to create a Rails application, set up databases using SQLite, and prepare your models for effective testing within a distributed development team workflow.
In this chapter, we’ll look at the basic mechanics of a TDD cycle. Our starting point will be to create some business logic with our models because model logic is the easiest part of a Rails application to test.
Problem
We have a problem.
Let’s suppose we’re the team leader for a development team that is distributed across multiple locations. We’d like to be able to maintain a ...
Development team