suffle/snapshot

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

Snapshot Testing of standalone fusion components

v0.1.0

Version
v0.1.0
Type
neos-plugin
Release Date
Feb 25, 2021 10:58
Source
git
Distribution
zip
Requires
  • neos/neos: ~4.2 || ~5.0 || ~7.0 || dev-master
  • sebastian/diff: 3.*
GPL-3.0-or-later
  • #testing
  • #snapshot
  • #fusion
  • #neos cms
  • #jest
e05b09cdcd4dc343d570785d291f511368fe1e06

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.