diff options
| author | DJ O'Leary <dijitol@proton.me> | 2025-12-13 03:04:39 +0100 |
|---|---|---|
| committer | DJ O'Leary <dijitol@proton.me> | 2025-12-13 03:04:39 +0100 |
| commit | 9edb0160899216af6fccd228ddedd7e9978c54e4 (patch) | |
| tree | e1f9dd6b3f14847aef42e09b8365589afcd6d6bf /2025/ocaml | |
| parent | 8cd1e7b135d0a633c56ed4603b326ef9d90a3fa7 (diff) | |
chore(task): add test:suite task
Diffstat (limited to '2025/ocaml')
| -rw-r--r-- | 2025/ocaml/Taskfile.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2025/ocaml/Taskfile.yaml b/2025/ocaml/Taskfile.yaml index 7496067..e79cf9e 100644 --- a/2025/ocaml/Taskfile.yaml +++ b/2025/ocaml/Taskfile.yaml @@ -51,6 +51,18 @@ tasks: - cmd: dune runtest --instrument-with bisect_ppx --force {{.CLI_ARGS}} - cmd: bisect-ppx-report html + test:suite: + desc: Run a singluar test suite, e.g. `task test:suite SUITE=test/domain/d01p01` + preconditions: + - command -v dune + deps: + - task: build + requires: + vars: + - SUITE + cmds: + - cmd: dune exec {{.SUITE}}.exe -- {{.CLI_ARGS}} + build: desc: Builds the project preconditions: |
