When you document your code with @doc
, you can supply code examples like so:
You can add the code examples as test cases into one of your test suites:
Run your tests with mix test
.
Additional reading:
When you document your code with @doc
, you can supply code examples like so:
You can add the code examples as test cases into one of your test suites:
Run your tests with mix test
.
Additional reading: