Skip to content

Instantly share code, notes, and snippets.

@garyharan
Last active December 23, 2016 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garyharan/d1310085c3447c41e49dc9656024c93c to your computer and use it in GitHub Desktop.
Save garyharan/d1310085c3447c41e49dc9656024c93c to your computer and use it in GitHub Desktop.
Useful resources I found while learning Elixir

Testing

The default scaffolds in Phoenix do not show how to use setup_all and other niceties in your tests. This article shows you how: http://blog.lucidsimple.com/2016/01/31/exunit-cheat-sheet.html

Elixir language constructs

describe and setup blocks.

http://elixir-lang.org/blog/2016/06/21/elixir-v1-3-0-released/

Phoenix Coherence testing

How to assign a user using a setup block

https://github.com/smpallen99/coherence/wiki/Testing-with-Coherence

Why Elixir is awesome

http://adrian-philipp.com/post/why-elixir-has-great-potential

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment