Skip to Content
Docker for Rails Developers
book

Docker for Rails Developers

by Rob Isenberg
February 2019
Intermediate to advanced
240 pages
5h 25m
English
Pragmatic Bookshelf
Content preview from Docker for Rails Developers

Chapter 8Testing in a Dockerized Environment

In the previous chapter, we completed our standard app setup by adding a Postgres database. However, we’re not quite done with development yet. As professional Ruby developers, we value well-tested code that gives us confidence that we’re delivering reliable software. As we rebuild our development environment around Docker, we need to find out how testing fits into the picture. Whatever your personal preferences around testing, it’s important to know how to get our testing tools working and playing nice with Docker so that you can use them as needed.

In this chapter, we’re going to set up the popular Ruby testing framework: RSpec. I’ve chosen RSpec over Rails’ default—Minitest—for a couple of reasons. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Rails 6: Accelerated Web Development with Ruby on Rails

Learn Rails 6: Accelerated Web Development with Ruby on Rails

Adam Notodikromo
Mastering Ruby Closures

Mastering Ruby Closures

Benjamin Tan Wei Hao

Publisher Resources

ISBN: 9781680506730Errata Page