Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare and possibly merge with SnapshotTesting.jl? #122

Open
NHDaly opened this issue Jan 5, 2023 · 1 comment
Open

Compare and possibly merge with SnapshotTesting.jl? #122

NHDaly opened this issue Jan 5, 2023 · 1 comment

Comments

@NHDaly
Copy link
Member

NHDaly commented Jan 5, 2023

Hello! We created https://github.com/NHDaly/SnapshotTesting.jl before we knew about this package, it seems!

It would be great to do a comparison and see if they are similar and whether or not they can be merged together! :)
Sibling issue in the other repo: RelationalAI-oss/SnapshotTesting.jl#5

@oxinabox
Copy link
Member

oxinabox commented Mar 9, 2023

In summary I would say:

SnapshotTesting supports applying to whole directories and to files directly, the reference file/directory should be on disk, and the content being evaluated should also be written to disk.
It only has special display for plain text files (?).

ReferenceTests.jl only supports comparing in-memory julia object to one that is read from disk.
It uses FileIO.jl to workout how to read and write various objects to and from disk.
So it supports a very large set of types.
It has special display support for plain text files, and images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants