Binary package “ruby-capybara” in ubuntu bionic

integration testing tool for Rack based web applications

 Capybara helps to test web applications based on Rack (such
 as the ones using Rails or Sinatra). It simulates how a real user would
 interact with the application. Multiple test drivers are supported
 Rack::Test comes built-in but other drivers can be added separately.