An elegant way to expose doctests to elm-test?

No matter what language I’m using, I test only public APIs.