Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 358 Bytes

File metadata and controls

24 lines (15 loc) · 358 Bytes

doc testing in elixir

Example elixir module which uses document testing

Docker

docker run -it -v $(pwd):/app elixir:1.8 /bin/bash

Installation

Installation guide: https://elixir-lang.org/install.html#distributions

# Install dependencies
mix deps

# Run doc tests
mix test

# Generate docs
mix docs
chromium-browser doc/index.html