class Rack::Test::Session

Rack::Test::Session handles a series of requests issued to a Rack app. It keeps track of the cookies for the session, and allows for setting headers and a default rack environment that is used for future requests.

Rack::Test::Session‘s methods are most often called through Rack::Test::Methods, which will automatically build a session when it’s first used.