janestreet / janestreet/ppx_inline_test

Don't require test dependencies when building

Open
#13 7 comments 2 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

Right now it seems like if a PPX test mentions a module, the dependency providing that module must be installed when building the tested code.
This should be made unnecessary, so that only building with runtest requires extra dependencies.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by reproducing a build where a PPX test references a module supplied by an extra dependency, then inspect how normal builds and runtest handle those dependencies. Done means the tested code builds without the test dependency, while runtest still requires it.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
build-system, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.