Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Backstop Generator

Backstop Generator helps you build and manage visual regression tests for your Drupal site using BackstopJS. This module simplifies the process of creating test scenarios, configuring viewports, and running tests to ensure your site's visual integrity across different devices and screen sizes. Changes you make in the interface will be reflected in the BackstopJS JSON file, allowing you to easily manage and run your visual regression tests.

In addition to creating the config json file, the module records our choices and saves it as configuration so that you can iterate and improve the results. 

You can find the module at the Backstop Generator project page.

Terminology

Some important definitions of terms used in the module.

Module Configuration and Features

Brief explanations of module settings and configurations.

How to Use Backstop Generator

Learn how Backstop Generator speeds up the creation of a BackstopJS.json file for testing

Backstop Field Glossary

Definitions and examples of all the various field settings you can use to ensure your tests run smoothly.