Table of contents

Test Ruby projects

We use RSpec for both unit/integration testing and acceptance testing via RSpec features. We discourage too much stubbing in tests with the exception of external services.

A combination of RSpec’s feature guide and this Page Object guide should be used in order to keep your RSpec features under control.

Everything you need should be installed and configured if you use the GOV.UK Rails templates.

This page was last reviewed . It needs to be reviewed again by the page owner #govuk-developers.