approvals / ApprovalTests.cpp

Native ApprovalTests for C++ on Linux, Mac and Windows
https://approvaltestscpp.readthedocs.io/en/latest/
Apache License 2.0
316 stars 51 forks source link

Implement "Scrubber" mechanism for handling unstable output #126

Closed claremacrae closed 4 years ago

claremacrae commented 4 years ago

Scrubbers are a way to write code that modifies the output being verified, before its contents is checked. It is typically used to remove unstable output, that might change between successive test runs.

This might be to:

claremacrae commented 4 years ago

As of 2020-04-26, there is an initial implementation of GUID-scrubbing on the master branch.

We are refining the interface on the Options branch, so the released API will differ somewhat from the initial implementation.