Thoughts on testing Phoenix views

I’m kind of a test obsessive, so I spent some time working on support code and idioms for testing phoenix views. Then I wrote a blog post.

“TL;DR: I’m not a huge fan of extensive unit tests for rendered HTML. Despite that, I’ve put a fair amount of work into some test support code for Phoenix views. Mostly, that was because I thought it would be a good learning experience for me, a novice in Phoenix and Elixir. But I came up with some testing conventions and code that might be useful to others. They might also serve as a model for testing other complex data structures.”