-
Notifications
You must be signed in to change notification settings - Fork 15
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
@test_reference
should fail when reference file is missing
#127
Comments
This is intentional, but perhaps not the wisest feature. It was added long before #110 |
as an alternative, possibly we should refuse to create new reference files if |
I think this is a reasonable compromise but would lead to some user confusion in the long term. |
I think we can just drop automatically creating if missing and the What do you think @johnnychen94 ? |
@oxinabox I'm all good with what you think is good. (Actually, I don't have the bandwidth to proceed with open source projects now 😭) |
Cool well I am happy to go with doing this. |
For my own notes this is functionally reverting |
Calling
@test_reference
on a non-existent file whenJULIA_REFERENCETESTS_UPDATE
is unset should cause a test failure instead of generating a new reference file:The rational behind this change is that if a user forgets to commit a reference file CI jobs will pass even though the reference test is broken. This happened to me in: JuliaTesting/TestReports.jl#99
The text was updated successfully, but these errors were encountered: