suffle/snapshot

Last activity 21 Dec 2024 13 2 1539
composer require suffle/snapshot

Snapshot Testing of standalone fusion components

1.0.0

Version
1.0.0
Type
neos-plugin
Release Date
Dec 12, 2024 11:35
Source
git
Distribution
zip
Requires
  • php: >=8.1
  • neos/neos: ~8.3
  • sebastian/diff: 3.* || 4.*
GPL-3.0-or-later
  • #testing
  • #snapshot
  • #fusion
  • #neos cms
  • #jest
6c8049e2ad03a5da8544291bc403e7fe3e987478

Readme excerpt

Suffle.Snapshot

A Neos CMS package to perform snapshot tests of fusion components

Regression testing for fusion components

Inspired by Jest and its snapshot testing for React Components, this package helps reducing unwanted side-effects when changing existing Fusion Components. Especially in big projects it is often hard to keep an eye on every usage of a component and which other component might be influenced. Snapshot testing reduces regression bugs by rendering Fusion Components and saving their outcome. If the code of a Fusion Component is changed, the snapshots are no longer in sync with the new outcome, which gives the developer two possibilities:

  1. Adjust the c…
    Read more
The content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.