evnu / docception

Run Elixir doctests on arbitrary markdown files
Apache License 2.0
6 stars 2 forks source link

Is it possible to run this as part of `mix test`? #1

Closed axelson closed 5 years ago

axelson commented 5 years ago

Hi, thanks for this library!

Is it possible to run this as part of mix test?

evnu commented 5 years ago

The simplest solution would be to use an alias for test in your mix.exs. That alias should then call the test task as well as docception. With that, both will be called on mix test. See the example directory (the alias should be extended to run mix test of course).

axelson commented 5 years ago

Ah, ok. That makes sense as an approach.