anz-bank / sysl

Sysl (pronounced "sizzle") is a system specification language
https://sysl.io
Apache License 2.0
122 stars 42 forks source link

Use Snapshot instead of golden test files #929

Open cuminandpaprika opened 4 years ago

cuminandpaprika commented 4 years ago

Use Cupaloy instead of golden test files

Currently, many of the tests in the Sysl Repo compare the parsed output to golden files. When changes are made, these golden files must be updated manually.

Cupaloy does that automatically, and allows you to see a diff when a snapshot needs to be updated, improving developer productivity.

Use-cases

Manage test files more easily