3 ms·
The documentation is generated with ex_doc, a core package. Examples in the documentation are automatically tested by the testing library ex_unit, so you get ex
by sph 5y ago
The documentation is generated with ex_doc, a core package. Examples in the documentation are automatically tested by the testing library ex_unit, so you get examples for your users which are automatically tested for correctness.
It's a pretty awesome feature indeed.
Though to be fair the examples in this library aren't using the correct syntax to be tested.
- linkdd 5y agoI should take a look more closely at the doctest feature indeed :)