Closed aantron closed 5 years ago
On BuckleScript, we need to be able to exclude the test suite.
bs-platform > 6.0.3
, it will be possible to pass --exclude-file
to Bisect_ppx, which can exclude all test files in one swoop. This is not ideal, as --exclude-file
is for working around build system issues.bsconfig.json
schema to be able to specify ppx-flags
per directory, so we can specify them in src/
only.[@@@coverage exclude file]
in each test file, which is annoying, but less annoying than installing bs-platform
master
as in (1).Development with BuckleScript or esy is now locked to OCaml 4.06 and BuckleScript 6.x.x, until https://github.com/aantron/bisect_ppx/issues/220 is resolved.
Blocked on better integration of Bisect_ppx with BuckleScript (https://github.com/BuckleScript/bucklescript/issues/3761).
I disabled coverage on JS for now, because it's too annoying not to be able to use Bisect_ppx as a dev PPX. Coverage is still working on native, because the native library is not published to any package managers.
Bisect_ppx now supports both native and BuckleScript coverage, so use it.
make coverage
for local reports.[@coverage exclude(file)]
upstream, and adapt to that.ppx-flags
being global, and adapt to that. aantron/bisect_ppx#221