Automating Tests in Elixir Projects

What happen to using behaviours and implement a test module.

I also find that all these libraries makes it way more complex then it should be and forget an important lesson to teach around architecture and simplicity.

I think the Elixir documentation deserves a simple dependency free architecture guide vs a million libraries in search of a problem.

Another point would also be, if you want to mock a HTTP response, why would you not setup a complete web-server for it, so you have a much control as possible, TestServer and Bypass comes to mind, where TestServer really shines with it’s support for WebSockets and flexibility in request patterns that let’s you modal highly complex cases with ease.

2 Likes