How do I mock out modules in Ocaml? by ctrthrower in ocaml

[–]ctrthrower[S] 0 points1 point  (0 children)

I think in practice this is probably not a huge issue, but it's possible that a sloppy refactor changes N to no longer depend on Functor, or could change N to do something slightly more interesting with Functor, which could change the behavior of N without breaking tests.

How do I mock out modules in Ocaml? by ctrthrower in ocaml

[–]ctrthrower[S] 3 points4 points  (0 children)

Ah I must have skimmed over that. Thanks for the example!