-
Notifications
You must be signed in to change notification settings - Fork 133
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
feat: add ability to rewrite test files output #5188
Comments
cc @ray6080 |
While we're at it, we should also remove explicit counts I think. The test runner should implicitly read all output until a blank line or EOF, instead of the user having to manually specify and update output counts. |
I don't think we can remove the number of output counts. |
Yeah this will need to be handled. Perhaps the count can be optional. However I think in the general case it adds a bit more friction when iterating on test cases. Although the automatic rewriter will solve this problem too. |
Currently if the output of a query changes, we've to manually fix the output in test files.
We should add a
--rewrite
mode in the test runner which switches from checking the output to rewriting the output.Prior work:
The text was updated successfully, but these errors were encountered: