suffle/snapshot

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

Snapshot Testing of standalone fusion components

dev-feature/exclude-packages

Version
dev-feature/exclude-packages
Type
neos-plugin
Release Date
Dec 21, 2024 14:20
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
db3948ba674e79d75a877d7d041755d40bca405c

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.