How do I write Elixir tests?

I wouldn’t say that it is “much faster”. The performance difference is negligible for me. What is though more important is that with server instead of mock, you are testing whole process, from the top to bottom. Another thing is that mocks like to screw up coverage reports which do not happen when you do not override modules.

1 Like