Ruby Testing Framework: RSpec

Learn setting up the RSpec testing tool in a Dockerized environment.

In the previous chapter, we completed our standard app setup by adding a Postgres database. However, we are not quite done with development yet. As professional Ruby developers, we value the well-tested code that gives us confidence that we are delivering reliable software. As we rebuild our development environment around Docker, we need to find out how testing fits into the picture.

RSpec

Whatever your personal preferences around testing, it is important to know how to get our testing tools working with Docker so that you can use them as needed. In this chapter, we are going to set up the popular Ruby testing framework: RSpec.

Get hands-on with 1200+ tech skills courses.