Learning resources for Test Driven Development (TDD) in Phoenix?

Hi, any suggestions whether a blog post, a screen-cast or a book to learn TTD in Elixir/Phoenix?
Thank you

1 Like

One good starting point might be the [Phoenix testing docs] (https://hexdocs.pm/phoenix/testing.html#content) and the Ex_Unit docs.

1 Like

You might want to look into the Mastering Phoenix Framework book by @shankardevyhttps://shankardevy.com/phoenix-book/

He goes through a TDD approach including iteration planning and user stories for all of the features and includes Hound (automated end-to-end browser testing) in addition to ExUnit testing. The resulting site you build is located here: https://github.com/shankardevy/mango

I thought it was quite good!

3 Likes

@tme_317 seems to be a great book, i will surely check it out. Thanks