Skip to content

Architecture Decision Record: Cypress for functional testing

Context

DPL CMS employs functional testing to ensure the functional integrity of the project.

This is currently implemented using Behat which allows developers to instrument a browser navigating through different use cases using Gherkin, a business readable, domain specific language. Behat is used within the project based on experience using it from the previous generation of DPL CMS.

Several factors have caused us to reevaluate that decision:

Decision

We choose to replace Behat with Cypress for functional testing.

Alternatives considered

There are other prominent tools which can be used for browser based functional testing:

Consequences