-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[new release] testo (4 packages) (0.2.0) #28504
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
Conversation
CHANGES: * Fix: handle windows paths correctly CLI help output (semgrep/testo#121) * Fix: correct path masking on Windows paths (semgrep/testo#121) * Fix: prevent "Bad file descriptor" errors arising from output redirection on Windows (semgrep/testo#121) * Fix: handle temporary file deletion cleanly on windows (semgrep/testo#119) * Fix: don't set signals on Windows (semgrep/testo#118). * Add `Testo.with_chdir` (semgrep/testo#104). * Fix nonsensical diff formatting (semgrep/testo#104). * Fix: enable the approval of the output of a test that is expected to complete but produces the incorrect output. Running the `approve` subcommand on such a test now successfully changes its status from XFAIL to XPASS ([semgrep/testo#103](semgrep/testo#103)). * Allow multiple `-s` search queries in the same test command, allowing the selection of various tests by their name or hash ([semgrep/testo#110](semgrep/testo#110)). * Add a `--expert` option to hide the legend printed by `run` and `status` ([semgrep/testo#109](semgrep/testo#109)). * Add a `--autoclean` option to `run` and `status` subcommands to delete test snapshots that don't belong to any known test as it typically happens after tests are renamed ([semgrep/testo#126](semgrep/testo#126)). * Add support for timeouts ([semgrep/testo#127](semgrep/testo#127)).
The opam-ci errors are due to a missing version constraint between the subpackages. Working on it. |
Thanks for publishing your updates! LGTM :) |
Could you add the |
via dune-project: (maintenance_intent "(latest)")
I was sent here from ocaml#28504 (comment) and it took me a while to find a way to do this from a `dune-project` file. I hope this will save others time. This kind of tip might go better into a howto-style guide such as "how to create complete opam files for public release from a dune project?" is there is one (?).
@smorimoto I had this question: my opam files are generated from
or
There's an example at https://dune.readthedocs.io/en/latest/howto/opam-file-generation.html My main issue is that Google didn't answer my question/query. On a related note, Google Search hasn't indexed the Testo documentation which has been up for over a year (tutorial and howtos at https://semgrep.github.io/testo/) despite crawling them. DuckDuckGo indexed them just fine. |
Test framework for OCaml
CHANGES:
(Make testo Windows compatible semgrep/testo#121)
(Make testo Windows compatible semgrep/testo#121)
Windows (Make testo Windows compatible semgrep/testo#121)
(fix(windows): make
with_redirect_fd_to_file
Windows compatible semgrep/testo#119)Testo.with_chdir
(Fix diff formatting semgrep/testo#104).complete but produces the incorrect output. Running the
approve
subcommand on such a test now successfully changes its status from
XFAIL to XPASS (semgrep/testo#103).
-s
search queries in the same test command,allowing the selection of various tests by their name or hash
(semgrep/testo#110).
--expert
option to hide the legend printed byrun
andstatus
(semgrep/testo#109).--autoclean
option torun
andstatus
subcommands todelete test snapshots that don't belong to any known test as it
typically happens after tests are renamed
(semgrep/testo#126).
(semgrep/testo#127).