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

[UX]: Generated cache files aren't Git-ignorable #52

Open
kapple19 opened this issue Sep 14, 2024 · 7 comments
Open

[UX]: Generated cache files aren't Git-ignorable #52

kapple19 opened this issue Sep 14, 2024 · 7 comments
Labels
UX Issues relating to UX

Comments

@kapple19
Copy link

What happened?

Some @checks generate a cache file with no common file naming design to make it .gitignoreable.

How could this be communicated better?

Maybe a supposition_jl_* prefix, or define a new, unique extension for the file?
I couldn't find anything in the documentation about it.

Julia Version

Julia v1.11.0-rc3.

Package Environment

Supposition v0.3.5.
@kapple19 kapple19 added the UX Issues relating to UX label Sep 14, 2024
@Seelengrab
Copy link
Owner

Hmm the default should place those history files in a directory called SuppositionDB, which should be possible to add to .gitignore 🤔 Do you have an example where it doesn't?

@kapple19
Copy link
Author

Oh I see.
Yeah it's placing it in the test directory:

image

Would you like a link to the branch with this?

@Seelengrab
Copy link
Owner

Hmm that's interesting - yes definitely! How are you running those tests? ]test should create the SuppositionDB directory.

@kapple19
Copy link
Author

Hmm, I have them in scripts called with @safetestsets from SafeTestsets.jl. I'll try to produce the supposition files without the safe test sets and get back to you.

@Seelengrab
Copy link
Owner

Do you have an update on this?

@kapple19
Copy link
Author

kapple19 commented Feb 2, 2025

I don't have the original reproduction of this issue. How do I get a @check to produce a database record? I can't figure it out from the documentation.

@Seelengrab
Copy link
Owner

It should happen automatically when your property fails.

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

No branches or pull requests

2 participants