Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

642 B

Testing strategy

  • We use RSpec and Capybara
  • Capybara is used for our feature tests. These use the Rack driver by default (faster) or the Gecko driver (installation required) when the js: true option is passed for a test.
  • Capybara is configured to run in headless mode but this can be toggled by commenting out app/spec/rails_helper.rb#L14
  • Capybara is configured to use Gecko driver for JS tests as Chrome is more commonly used and so naturally more likely to be better tested but this can be switched to Chrome driver by changing app/spec/rails_helper.rb#L13