janestreet / janestreet/ppx_inline_test

running a single test

Open
#34 5 comments 4 reactions 0 assignees View on GitHub
forwarded-to-js-devs
Dominant language
OCaml
Stars
143
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Hey!

I'm trying to run a single test via:

```
../../../../../_build/default/src/lib/pickles/.pickles.inline-tests/inline_test_runner_pickles.exe inline-test-runner Pickles -only-test pickles.ml:981
```

but I'm getting

```
ppx_inline_test error: the following -only-test flags matched nothing: pickles.ml:981.
```

whereas the file indeed exists at my path. I'm a bit confused on how to use that option

Contributor guide

Open the contributing guide

Research direction

Reproduce the command shown against the inline_test_runner_pickles.exe executable and the pickles.ml:981 selector. Read the -only-test handling and matching behavior, then verify the result against the inline test at that location. Done means the selector behavior is corrected or its required syntax is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.