Overview of Verify snapshot testing
mainVerify is a snapshot testing tool designed to simplify the assertion of complex data models and documents.
How it works:
- During the assertion phase, Verify is called on a test result.
- It serializes the result and stores it in a file matching the test name.
- On subsequent executions, the new result is serialized and compared against the existing file.
- The test fails if the snapshots do not match, indicating either an unexpected change or that the reference snapshot needs updating.
Note on Licensing: From August 2026, commercial organizations and government agencies using official binary releases may be subject to a subscription fee. The source code remains open and free, and individuals, non-revenue organizations, CI, forks, and local development are unaffected.