Rack::Test

Rack::Test is a library that makes testing Rack-based web applications easier.

In this chapter we’ll write some tests for our Rack and Sinatra apps from the book Webapps for Beginners, and, in doing so, explore the helpful features that Rack::Test provides.

Let’s get started.