class
v3.0.0 - Show latest stable - Superclass: Object

An integration Session instance represents a set of requests and responses performed sequentially by some virtual user. Because you can instantiate multiple sessions and run them side-by-side, you can also mimic (to some limited extent) multiple simultaneous users interacting with your system.

Typically, you will instantiate a new session using IntegrationTest#open_session, rather than instantiating Integration::Session directly.

Included modules

  • ActionController::Testing
  • ActionDispatch::Routing::UrlFor
  • Assertions
  • RequestHelpers
  • Test::Unit::Assertions
  • TestProcess

Constants

DEFAULT_HOST = "www.example.com"

Attributes

[RW]accept
[R]controller
[W]host
[RW]remote_addr
[R]request
[RW]request_count
[R]response

Files

  • actionpack/lib/action_dispatch/testing/integration.rb