You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the ocaml-mdx test command isn't very flexible with regard to its output.
It always writes it to the input file with a .corrected. While this is a good default, I think it'd be good to:
Document it in the test command man page.
Add a --to-stdout/-O option to write to stdout instead
Add a --output <file>/-o <file> option to write to a different file
These would all be backward compatible changes with the current behaviour.
While I believe we should, in the future, try to promote the dune workflow over the ocaml-mdx test one, I think until we have a proper integration these additions would make more usable to everyone, including ourselves since I actually met that limitation while working on the test!
Currently the
ocaml-mdx test
command isn't very flexible with regard to its output.It always writes it to the input file with a
.corrected
. While this is a good default, I think it'd be good to:test
command man page.--to-stdout
/-O
option to write to stdout instead--output <file>
/-o <file>
option to write to a different fileThese would all be backward compatible changes with the current behaviour.
While I believe we should, in the future, try to promote the dune workflow over the
ocaml-mdx test
one, I think until we have a proper integration these additions would make more usable to everyone, including ourselves since I actually met that limitation while working on the test!What do you think? @samoht @Julow
The text was updated successfully, but these errors were encountered: