Hi,
I like keeping modules and their tests in separate files, but in the same folder. For example, the module foo.ml
would have a corresponding test file test_foo.ml
in the same folder.
Is this pattern supported by Dune? Here is what I imagine my dune file would look like:
(library
(name foo)
(modules (:standard \ (glob_files "test*.ml"))
)
(library
(name test_foo)
(modules (glob_files "test*.ml))
(inline_tests)
)
Unfortunately, glob_files
does not seem to be supported in the modules
stanza currently.