nanne007 / lakeland

a copycat(elixir version) of ranch
MIT License
1 stars 0 forks source link

The best practices of writing tests in elixir? #2

Open nanne007 opened 8 years ago

nanne007 commented 8 years ago

Write more tests for lakeland, especially the unit test.

I am still finding an easy way to do it. What I am missing here is that I don't know what to test. Should I only test the happy path? What's about the bad case? How would I test the connections between related modules?