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

Add code formatting and golden test crates #10

Merged
merged 11 commits into from
Jan 25, 2025
Merged

Add code formatting and golden test crates #10

merged 11 commits into from
Jan 25, 2025

Conversation

mcy
Copy link
Owner

@mcy mcy commented Jan 14, 2025

No description provided.

mcy added 11 commits January 25, 2025 15:12
In the previous design of output(), you could get into a situation where
the outputs for the test depended on which output path the test took,
meaning that if an error occured, it would generate an error golden, but
once the error was resolved, it would fail to delete the error golden.
This change requires that all outputs be specified up-front.
Rust does not provide a way to specify that there are non-Rust files
relevant to the build that should cause the build to stale if they
change. We implement this ourselves through some gross mtime hacks.

The best we can do is inform the user that inputs have changed and
they must re-run cargo test to cause the tests to be rebuilt against
the new inputs.
@mcy mcy merged commit 4c5708c into main Jan 25, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant