4 ms·
> update with a flag Yes this is right level of automation, not whatever this article is going on about with the editor integration. Yuck.
by tantalor 4y ago
> update with a flag
Yes this is right level of automation, not whatever this article is going on about with the editor integration. Yuck.
- thedufer 4y agoThe open source use pattern for expect tests in OCaml (via dune) is exactly as you describe (see https://dune.readthedocs.io/en/stable/tests.html https://dune.readthedocs.io/en/stable/tests.html) - you run the tests with `--auto-promote` to tell it to update. The editor integration is a very simple keybinding on top of more generic tooling.