-
Notifications
You must be signed in to change notification settings - Fork 454
Description
I think it is useful to be able to run tests defined in a specific module with jbuilder runtest command, right now it seems the only invocation which is possible is to specify a directory: jbuilder runtest ./dir.
Also it would be useful to make jbuilder runtest to try its best efforts to run tests even if not all code from the specified package/dir can be compiled.
From a discussion with @rgrinberg on OCaml Discord:
@andreypopp: how do I run a ppx_inline_test within a module with dune?
@rgrinberg: you should make a ticket for this. basically, some parameters will need to be passed to the inline tests binary to make this work
but it should be possible
You can also experiment with the binary yourself, see if it has some option for that
Basically, it's the job of ppx_inline_test to split the test suite within a library
but we should be able to pass the appropriate command line args in dune